Changes to deactivate/reactivate products (#89)
This commit is contained in:
parent
cf82ed478d
commit
83c94e94db
5 changed files with 41 additions and 13 deletions
|
|
@ -172,4 +172,9 @@ 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;"
|
||||
)
|
||||
|
||||
async def m005_update_product_activation(db):
|
||||
await db.execute(
|
||||
"ALTER TABLE nostrmarket.products ADD COLUMN active BOOLEAN NOT NULL DEFAULT true;"
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue