"""empty message Revision ID: 8960c74c29df Revises: Create Date: 2024-09-29 08:46:22.567795 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '8960c74c29df' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.create_table('budget_category', sa.Column('id', sa.INTEGER(), nullable=False), sa.Column('name', sa.String(), nullable=False), sa.PrimaryKeyConstraint('id') ) op.create_table('line_item', sa.Column('id', sa.INTEGER(), nullable=False), sa.Column('parent_line_item_id', sa.INTEGER(), nullable=True), sa.Column('amount', sa.INTEGER(), nullable=False), sa.Column('currency_type', sa.String(), nullable=True), sa.Column('vendor_id', sa.INTEGER(), nullable=True), sa.Column('date', sa.INTEGER(), nullable=False), sa.Column('confirmation_code', sa.INTEGER(), nullable=True), sa.Column('note', sa.String(), nullable=True), sa.PrimaryKeyConstraint('id') ) op.create_table('vendor', sa.Column('id', sa.INTEGER(), nullable=False), sa.Column('name', sa.String(), nullable=False), sa.Column('bc_id', sa.INTEGER(), nullable=True), sa.PrimaryKeyConstraint('id') ) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_table('vendor') op.drop_table('line_item') op.drop_table('budget_category') # ### end Alembic commands ###