Skip to content

Commit 0a2f7ca

Browse files
committed
Fix invalid code
1 parent 8d0ee28 commit 0a2f7ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/versions/c0fcd66c3df6_add_daily_streak_column.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def upgrade():
2626
"last_completion_date",
2727
sa.Date(),
2828
nullable=False,
29-
server_default=sa.text(func.current_date()),
29+
server_default=func.current_date(),
3030
)
3131
)
3232
batch_op.add_column(

0 commit comments

Comments
 (0)