23f834de71
* update dependencies * Add support for resetting variables to a `NULL` value using `SET`. Previously, storing `NULL` in a variable would store the string `'null'` instead of the `NULL` value.
11 lines
268 B
SQL
11 lines
268 B
SQL
CREATE TABLE user_info (
|
|
username TEXT PRIMARY KEY,
|
|
password_hash TEXT NOT NULL
|
|
);
|
|
|
|
CREATE TABLE login_session (
|
|
id TEXT PRIMARY KEY,
|
|
username TEXT NOT NULL REFERENCES user_info(username),
|
|
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
|
|
);
|