add DB migrations
This commit is contained in:
parent
80a19c1e73
commit
ac07f3c3dc
1 changed files with 10 additions and 0 deletions
10
sql/init.sql
Normal file
10
sql/init.sql
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
CREATE TABLE tokens (
|
||||||
|
user TEXT NOT NULL,
|
||||||
|
token TEXT NOT NULL,
|
||||||
|
created TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
CREATE TABLE sch_updates (
|
||||||
|
filename TEXT NOT NULL,
|
||||||
|
applied TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL
|
||||||
|
);
|
Loading…
Reference in a new issue