"""Add columns created_at and updated_at to QuantfuryPositions

Revision ID: 50f7784e9243
Revises: b00218e08a53
Create Date: 2022-06-28 20:00:30.146518

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '50f7784e9243'
down_revision = 'b00218e08a53'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('quantfury_positions', sa.Column('created_at', sa.DateTime(), nullable=True))
    op.add_column('quantfury_positions', sa.Column('updated_at', sa.DateTime(), nullable=True))
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('quantfury_positions', 'updated_at')
    op.drop_column('quantfury_positions', 'created_at')
    # ### end Alembic commands ###
