"""Initial Revision ID: dfcca9d99ce7 Revises: Create Date: 2024-10-08 21:18:33.666046 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'dfcca9d99ce7' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.create_table('user', sa.Column('id', sa.Integer(), nullable=False), sa.Column('name', sa.String(length=100), nullable=False), sa.Column('email', sa.String(length=120), nullable=False), sa.PrimaryKeyConstraint('id'), sa.UniqueConstraint('email') ) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_table('user') # ### end Alembic commands ###