Add first migrations
This commit is contained in:
parent
256885e07f
commit
ab7fad6a62
4 changed files with 16 additions and 5 deletions
|
@ -1 +1,2 @@
|
|||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE people;
|
|
@ -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
|
||||
)
|
|
@ -1 +1,2 @@
|
|||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE people;
|
|
@ -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
|
||||
)
|
Loading…
Reference in a new issue