"""First Revision ID: e98840064cab Revises: 629b2e73e311 Create Date: 2024-03-12 01:00:58.640179 """ from collections.abc import Sequence import sqlalchemy as sa from alembic import op # revision identifiers, used by Alembic. revision: str = "e98840064cab" down_revision: str | None = "629b2e73e311" branch_labels: str | Sequence[str] | None = None depends_on: str | Sequence[str] | None = None def upgrade() -> None: # ### commands auto generated by Alembic - please adjust! ### op.create_table( "users", sa.Column("first_name", sa.String(), nullable=False), sa.Column("mid_name", sa.String(), nullable=False), sa.Column("last_name", sa.String(), nullable=False), sa.Column("email", sa.String(), nullable=False), sa.Column("telegram_id", sa.String(), nullable=False), sa.Column("hashed_password", sa.String(), nullable=False), sa.Column("is_active", sa.Boolean(), nullable=False), sa.Column("id", sa.UUID(), nullable=False), sa.PrimaryKeyConstraint("id"), sa.UniqueConstraint("email"), sa.UniqueConstraint("telegram_id"), ) # ### end Alembic commands ### def downgrade() -> None: # ### commands auto generated by Alembic - please adjust! ### op.drop_table("users") # ### end Alembic commands ###