auth support

This commit is contained in:
arcanis committed 2019-09-11 02:51:55 +03:00
1 parent 39be8cebf1
commit 7de6a5fcc9
21 files changed
+471 -14

No files matched your search

@@ -0,0 +1,17 @@
'''
users table
'''
from yoyo import step
__depends__ = {}
steps = [
step('''create table users (
user_id integer primary key,
username text not null,
password text not null,
permission text not null
)'''),
step('''create unique index users_username_idx on users(username)''')
]