mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
🐛 changing server default task.time_created
to CURRENT_TIMESTAMP
This commit is contained in:
parent
30ad0151e2
commit
2a9d981d40
@ -33,7 +33,7 @@ def upgrade() -> None:
|
||||
sa.Column(
|
||||
"time_created",
|
||||
sa.DateTime(),
|
||||
server_default=sa.text("now()"),
|
||||
server_default=sa.text("(CURRENT_TIMESTAMP)"),
|
||||
nullable=True,
|
||||
),
|
||||
sa.Column("time_updated", sa.DateTime(), nullable=True),
|
||||
|
Loading…
Reference in New Issue
Block a user