You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
300 B
9 lines
300 B
-- Your SQL goes here
|
|
CREATE TABLE users (
|
|
id INTEGER PRIMARY KEY NOT NULL GENERATED ALWAYS AS IDENTITY,
|
|
uuid VARCHAR(36) NOT NULL DEFAULT gen_random_uuid(),
|
|
username VARCHAR(16) NOT NULL UNIQUE,
|
|
password VARCHAR(512) NOT NULL, -- always a hashed value
|
|
email VARCHAR(32) NOT NULL UNIQUE
|
|
);
|