feat: ✨ post routing
This commit is contained in:
parent
e167b864ee
commit
dc849dd970
15 changed files with 185 additions and 26 deletions
|
@ -1,6 +1,6 @@
|
|||
-- Add up migration script here
|
||||
CREATE TABLE IF NOT EXISTS "post"(
|
||||
creation_time TIMESTAMPTZ PRIMARY KEY UNIQUE NOT NULL DEFAULT NOW(),
|
||||
poster_id BIGSERIAL NOT NULL REFERENCES "user"(id),
|
||||
user_id BIGSERIAL NOT NULL REFERENCES "user"(id),
|
||||
post VARCHAR NOT NULL UNIQUE
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue