fix migrations

This commit is contained in:
callebtc 2023-03-15 00:06:04 +01:00
commit fcd5a30712

View file

@ -10,8 +10,7 @@ async def m001_initial(db):
description TEXT NOT NULL, description TEXT NOT NULL,
amount {db.big_int} NOT NULL, amount {db.big_int} NOT NULL,
served_meta INTEGER NOT NULL, served_meta INTEGER NOT NULL,
served_pr INTEGER NOT NULL, served_pr INTEGER NOT NULL
username TEXT
); );
""" """
) )
@ -98,8 +97,7 @@ async def m006_redux(db):
success_url TEXT, success_url TEXT,
comment_chars INTEGER DEFAULT 0, comment_chars INTEGER DEFAULT 0,
webhook_headers TEXT, webhook_headers TEXT,
webhook_body TEXT, webhook_body TEXT
username TEXT
); );
""" """
) )
@ -124,8 +122,7 @@ async def m006_redux(db):
max, max,
fiat_base_multiplier, fiat_base_multiplier,
webhook_headers, webhook_headers,
webhook_body, webhook_body
username
) )
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
""", """,