create table user, and fix table session
This commit is contained in:
parent
93afc14386
commit
323d574374
1 changed files with 11 additions and 0 deletions
11
internal/store/migrations/7.sql
Normal file
11
internal/store/migrations/7.sql
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
create table user (login text primary key, password text, role text);
|
||||||
|
|
||||||
|
drop table session;
|
||||||
|
|
||||||
|
create table session (
|
||||||
|
token text primary key,
|
||||||
|
user text,
|
||||||
|
expiration text
|
||||||
|
);
|
||||||
|
|
||||||
|
pragma user_version = 7;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue