Merge branch '601_convert_created_utc_to_timestamp_for_commentflags' into 601_convert_created_utc_to_timestamp_for_commentvotes
This commit is contained in:
commit
201863bd36
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ def downgrade():
|
|||
"""
|
||||
Downgrade will truncate the milliseconds.
|
||||
"""
|
||||
op.add_column(table_name, sa.Column('created_utc', sa.INTEGER(), server_default=sa.text('0'), nullable=True))
|
||||
op.add_column(table_name, sa.Column('created_utc', sa.Integer(), server_default=sa.text('0'), nullable=True))
|
||||
op.execute(f"""
|
||||
UPDATE {table_name}
|
||||
SET created_utc =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue