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`
|
-- This file should undo anything in `up.sql`
|
||||||
|
DROP TABLE people;
|
|
@ -1,7 +1,8 @@
|
||||||
CREATE TABLE people (
|
CREATE TABLE people (
|
||||||
id STRING primary key,
|
id TEXT primary key,
|
||||||
name STRING not null,
|
name TEXT not null,
|
||||||
instance STRING,
|
instance TEXT,
|
||||||
mail STRING,
|
mail TEXT,
|
||||||
pw_hash STRING
|
pw_hash TEXT,
|
||||||
|
is_local BOOLEAN
|
||||||
)
|
)
|
|
@ -1 +1,2 @@
|
||||||
-- This file should undo anything in `up.sql`
|
-- This file should undo anything in `up.sql`
|
||||||
|
DROP TABLE people;
|
|
@ -1 +1,9 @@
|
||||||
-- Your SQL goes here
|
-- 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