polaris/migrations/201706272129_users_table/up.sql
2018-10-06 18:13:44 -07:00

8 lines
178 B
SQL

CREATE TABLE users (
id INTEGER PRIMARY KEY NOT NULL,
name TEXT NOT NULL,
password_salt BLOB NOT NULL,
password_hash BLOB NOT NULL,
admin INTEGER NOT NULL,
UNIQUE(name)
);