"""add_user_preference Revision ID: 3e0eba73982c Revises: ca15310b73c0 Create Date: 2023-12-12 16:46:29.209823 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '3e0eba73982c' down_revision = 'ca15310b73c0' branch_labels = None depends_on = None def upgrade() -> None: # ### commands auto generated by Alembic - please adjust! ### op.create_table('preference', sa.Column('id', sa.Integer(), nullable=False), sa.Column('created_at', sa.DateTime(), nullable=False), sa.Column('updated_at', sa.DateTime(), nullable=False), sa.Column('deleted_at', sa.DateTime(), nullable=True), sa.Column('app_id', sa.Integer(), nullable=False), sa.Column('preference', sa.String(length=4096), nullable=False), sa.PrimaryKeyConstraint('id') ) # ### end Alembic commands ### def downgrade() -> None: # ### commands auto generated by Alembic - please adjust! ### op.drop_table('preference') # ### end Alembic commands ###