fix: do not add a default for merchant time column

This commit is contained in:
Vlad Stan 2023-07-11 09:30:09 +03:00
parent 3d2d8198bc
commit 927d8661ef
2 changed files with 2 additions and 2 deletions

View file

@ -171,5 +171,5 @@ async def m003_update_direct_message_type(db):
async def m004_add_merchant_timestamp(db):
await db.execute(
f"ALTER TABLE nostrmarket.merchants ADD COLUMN time TIMESTAMP NOT NULL DEFAULT {db.timestamp_now};"
f"ALTER TABLE nostrmarket.merchants ADD COLUMN time TIMESTAMP;"
)