mirror of
https://github.com/lnbits/lnbits.git
synced 2025-03-17 13:21:48 +01:00
regression migration
This commit is contained in:
parent
b5b5b318a0
commit
9351c10b08
@ -283,7 +283,7 @@ async def m009_create_tinyurl_table(db: Connection):
|
||||
time TIMESTAMP NOT NULL DEFAULT %ts
|
||||
);
|
||||
""",
|
||||
safe_replace={"ts": db.timestamp_column_default},
|
||||
safe_replace={"ts": db.timestamp_now},
|
||||
)
|
||||
|
||||
|
||||
@ -701,7 +701,7 @@ async def m029_create_audit_table(db: Connection):
|
||||
created_at TIMESTAMP NOT NULL DEFAULT %ts
|
||||
);
|
||||
""",
|
||||
safe_replace={"ts": db.timestamp_column_default},
|
||||
safe_replace={"ts": db.timestamp_now},
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user