diff --git a/migrations/versions/2023_07_09_21_52_50_7ae4658467d7_change_created_utc_to_timestampz_for_.py b/migrations/versions/2023_07_09_21_52_50_7ae4658467d7_change_created_utc_to_timestampz_for_.py index c2e72e935..e004d2839 100644 --- a/migrations/versions/2023_07_09_21_52_50_7ae4658467d7_change_created_utc_to_timestampz_for_.py +++ b/migrations/versions/2023_07_09_21_52_50_7ae4658467d7_change_created_utc_to_timestampz_for_.py @@ -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 =