db-lab1/db.sql

11 lines
358 B
MySQL
Raw Normal View History

2021-03-05 07:39:47 +00:00
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
);