cr-connect-workflow/migrations/versions/e8cc6a9245f3_.py

29 lines
748 B
Python

"""empty message
Revision ID: e8cc6a9245f3
Revises: efdc41cc7fbf
Create Date: 2022-01-12 12:28:25.257443
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql
# revision identifiers, used by Alembic.
revision = 'e8cc6a9245f3'
down_revision = 'efdc41cc7fbf'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('task_log', 'timestamp')
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('task_log', sa.Column('timestamp', postgresql.TIMESTAMP(timezone=True), autoincrement=False, nullable=True))
# ### end Alembic commands ###