db-lab1/db.sql

11 lines
358 B
SQL

CREATE TABLE auth_user (
id serial PRIMARY KEY,
username character varying(255) NOT NULL UNIQUE,
password character varying(255) NOT NULL,
is_superuser boolean NOT NULL,
first_name character varying(255) NOT NULL,
last_name character varying(255) NOT NULL,
email character varying(255) NOT NULL,
is_active boolean NOT NULL
);