8 lines
181 B
MySQL
8 lines
181 B
MySQL
|
CREATE TABLE users (
|
||
|
id SERIAL PRIMARY KEY,
|
||
|
username VARCHAR UNIQUE NOT NULL,
|
||
|
password VARCHAR UNIQUE NOT NULL
|
||
|
);
|
||
|
|
||
|
CREATE UNIQUE INDEX users_username_idx ON users (username);
|