Add first migrations

This commit is contained in:
mStar aka a person 2024-01-01 13:38:13 +00:00
parent 256885e07f
commit ab7fad6a62
4 changed files with 16 additions and 5 deletions

View file

@ -1 +1,2 @@
-- This file should undo anything in `up.sql`
DROP TABLE people;

View file

@ -1,7 +1,8 @@
CREATE TABLE people (
id STRING primary key,
name STRING not null,
instance STRING,
mail STRING,
pw_hash STRING
id TEXT primary key,
name TEXT not null,
instance TEXT,
mail TEXT,
pw_hash TEXT,
is_local BOOLEAN
)

View file

@ -1 +1,2 @@
-- This file should undo anything in `up.sql`
DROP TABLE people;

View file

@ -1 +1,9 @@
-- Your SQL goes here
CREATE TABLE people (
id STRING primary key,
name STRING not null,
instance STRING,
mail STRING,
pw_hash STRING,
is_local BOOLEAN
)