mirror of
https://github.com/arcan1s/ffxivbis.git
synced 2025-07-13 22:05:49 +00:00
auth support
This commit is contained in:
17
migrations/20190910_01_tgBmx-users-table.py
Normal file
17
migrations/20190910_01_tgBmx-users-table.py
Normal file
@ -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)''')
|
||||
]
|
Reference in New Issue
Block a user