refactor: ♻️ new limits for database varchars
This commit is contained in:
parent
032a19931d
commit
502334ea79
6 changed files with 7 additions and 7 deletions
|
@ -3,5 +3,5 @@ CREATE TABLE IF NOT EXISTS "comment"(
|
|||
creation_time TIMESTAMPTZ PRIMARY KEY NOT NULL UNIQUE DEFAULT NOW(),
|
||||
post_creation_time TIMESTAMPTZ NOT NULL REFERENCES "post"(creation_time),
|
||||
user_id BIGSERIAL NOT NULL REFERENCES "user"(id),
|
||||
comment VARCHAR NOT NULL
|
||||
comment VARCHAR(8192) NOT NULL
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue