refactor: ♻️ new limits for database varchars
This commit is contained in:
parent
032a19931d
commit
502334ea79
6 changed files with 7 additions and 7 deletions
|
@ -1,8 +1,8 @@
|
|||
-- Add up migration script here
|
||||
CREATE TABLE IF NOT EXISTS "user"(
|
||||
id BIGSERIAL PRIMARY KEY NOT NULL UNIQUE,
|
||||
name VARCHAR(255) NOT NULL,
|
||||
surname VARCHAR(255) NOT NULL,
|
||||
name VARCHAR(256) NOT NULL,
|
||||
surname VARCHAR(256) NOT NULL,
|
||||
gender boolean NOT NULL,
|
||||
birth_date DATE NOT NULL,
|
||||
role_id BIGSERIAL NOT NULL REFERENCES "role"(id),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue