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
ee23d37b52
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ depends_on = None
|
|||
|
||||
|
||||
def upgrade():
|
||||
op.add_column('commentflags', sa.Column('created_timestampz', sa.DateTime(timezone=True), nullable=False, server_default=sa.text('NOW()')))
|
||||
op.add_column('commentflags', sa.Column('created_timestampz', sa.TIMESTAMP(timezone=True), nullable=False, server_default=sa.text('NOW()')))
|
||||
op.execute("""
|
||||
UPDATE commentflags
|
||||
SET created_timestampz =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue