"""initial Revision ID: 3ba730985688 Revises: Create Date: 2024-03-06 03:10:09.050166 """ from collections.abc import Sequence import sqlalchemy as sa from alembic import op # revision identifiers, used by Alembic. revision: str = "3ba730985688" down_revision: str | None = None 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("email", sa.String(), nullable=True), sa.Column("hashed_password", sa.String(), nullable=True), sa.Column("is_active", sa.Boolean(), nullable=True), sa.Column("name", sa.String(), nullable=False), sa.Column("id", sa.UUID(), nullable=False), sa.PrimaryKeyConstraint("id"), sa.UniqueConstraint("email"), ) # ### end Alembic commands ### def downgrade() -> None: # ### commands auto generated by Alembic - please adjust! ### op.drop_table("users") # ### end Alembic commands ###