This repository has been archived on 2023-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
2020-10-14 20:36:24 +00:00
|
|
|
-- Your SQL goes here
|
|
|
|
|
|
|
|
CREATE TABLE users (
|
|
|
|
id SERIAL PRIMARY KEY,
|
2020-10-14 23:14:10 +00:00
|
|
|
username VARCHAR NOT NULL,
|
2020-10-14 23:17:55 +00:00
|
|
|
encrypted_password VARCHAR NOT NULL
|
2020-10-14 20:36:24 +00:00
|
|
|
);
|
2020-10-15 00:48:19 +00:00
|
|
|
|
|
|
|
CREATE UNIQUE INDEX index_users_on_username ON users USING btree (username);
|