rave/migrations/0001_create-user.sql
Lyssieth 67244e63b3
feat: basic authentication.
Gotta improve it, but right now this can ping.
Theoretically any client should be able to connect.
2023-10-08 23:11:59 +03:00

9 lines
No EOL
254 B
SQL

-- Add migration script here
CREATE TABLE users (
id INTEGER PRIMARY KEY,
name TEXT NOT NULL,
password TEXT NOT NULL,
is_admin BOOLEAN NOT NULL DEFAULT FALSE
);
INSERT INTO users (name, password, is_admin)
VALUES ('admin', 'admin', TRUE);