User creation now possible!

Signed-off-by: Louis Hollingworth <louis@hollingworth.nl>
This commit is contained in:
Louis Hollingworth 2024-01-14 16:49:36 +00:00
parent 215cf639bd
commit f671a5ba2f
Signed by: lucxjo
GPG key ID: A11415CB3DC7809B
12 changed files with 2185 additions and 44 deletions

View file

@ -0,0 +1,2 @@
-- Add down migration script here
DROP TABLE "users";

View file

@ -0,0 +1,9 @@
-- Add up migration script here
CREATE TABLE "users" (
id INTEGER PRIMARY KEY,
name TEXT NOT NULL,
site TEXT NOT NULL,
xmpp TEXT,
epost TEXT,
password TEXT NOT NULL
);

View file

@ -0,0 +1,2 @@
-- Add down migration script here
ALTER TABLE users DROP COLUMN active_token;

View file

@ -0,0 +1,3 @@
-- Add up migration script here
ALTER TABLE users
ADD COLUMN active_token TEXT;