jerguero-rs/db/schema.sql

15 lines
347 B
SQL

-- PostgreSQL schema for the system
create table person(
person_id serial primary key,
person_email varchar(100) not null,
person_password varchar(100) not null
);
-- Sessions
create table session(
session_id serial primary key,
session_person_id integer not null,
session_created_at timestamp with time zone not null
);