blob: a2a74b14f74b19b19dc2eb917d23fb8a2785a83b (
plain)
1
2
3
4
5
6
7
8
9
10
|
CREATE TABLE sessions(
created_at timestamp DEFAULT now(),
session_id uuid DEFAULT gen_random_uuid(),
user_id integer REFERENCES users(id)
);
CREATE TABLE users(
id integer PRIMARY KEY serial,
user_name text
password text);
|