"""Add legal agreements table

Revision ID: 32c905599391
Revises: <PASSWORD>
Create Date: 2022-02-15 07:54:15.807245+00:00

"""
import sqlalchemy as sa
import sqlmodel
from alembic import op

# revision identifiers, used by Alembic.
revision = "32c905599391"
down_revision = "<PASSWORD>"
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table(
        "legal_agreements",
        sa.Column("name", sqlmodel.sql.sqltypes.AutoString(), nullable=False),
        sa.Column("content", sqlmodel.sql.sqltypes.AutoString(), nullable=False),
        sa.Column("id", sa.Integer(), nullable=False),
        sa.PrimaryKeyConstraint("id"),
    )
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_table("legal_agreements")
    # ### end Alembic commands ###

alembic.op.drop_table sqlalchemy.Integer sqlmodel.sql.sqltypes.AutoString sqlalchemy.PrimaryKeyConstraint
[((844, 877), 'alembic.op.drop_table', 'op.drop_table', (['"""legal_agreements"""'], {}), "('legal_agreements')\n", (857, 877), False, 'from alembic import op\n'), ((683, 712), 'sqlalchemy.PrimaryKeyConstraint', 'sa.PrimaryKeyConstraint', (['"""id"""'], {}), "('id')\n", (706, 712), True, 'import sqlalchemy as sa\n'), ((485, 519), 'sqlmodel.sql.sqltypes.AutoString', 'sqlmodel.sql.sqltypes.AutoString', ([], {}), '()\n', (517, 519), False, 'import sqlmodel\n'), ((567, 601), 'sqlmodel.sql.sqltypes.AutoString', 'sqlmodel.sql.sqltypes.AutoString', ([], {}), '()\n', (599, 601), False, 'import sqlmodel\n'), ((644, 656), 'sqlalchemy.Integer', 'sa.Integer', ([], {}), '()\n', (654, 656), True, 'import sqlalchemy as sa\n')]