Database migration #45

Merged
Miroslavsckaya merged 8 commits from database_migration into master 2022-08-21 20:43:36 +00:00
Showing only changes of commit fe2a9cc515 - Show all commits

View file

@ -3,11 +3,12 @@ from yoyo import step
steps = [
step(
'CREATE TABLE users ('
' id SERIAL PRIMARY KEY,'
' id SERIAL PRIMARY KEY,'
' telegram_id INTEGER NOT NULL UNIQUE'
')'
),
step('CREATE TABLE feeds ('
step(
'CREATE TABLE feeds ('
' id SERIAL PRIMARY KEY,'
' url TEXT NOT NULL UNIQUE'
')'