text: """Initilize Base Schema
  
  Revision ID: bd4bdf990c64
  Revises: 
  Create Date: 2021-04-07 20:25:43.879239
  
  """
  from alembic import op
  import sqlalchemy as sa
  
  
  # revision identifiers, used by Alembic.
  revision = 'bd4bdf990c64'
  down_revision = None
  branch_labels = None
  depends_on = None
  
  
  def upgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.create_table('customer',
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('name', sa.String(length=255), nullable=True),
      sa.PrimaryKeyConstraint('id')
      )
      op.create_table('budget_item',
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('name', sa.String(length=140), nullable=True),
      sa.Column('customer_id', sa.Integer(), nullable=True),
      sa.Column('amount', sa.Integer(), nullable=False),
      sa.Column('date_created', sa.DateTime(), nullable=False),
      sa.Column('date_modified', sa.DateTime(), nullable=False),
      sa.ForeignKeyConstraint(['customer_id'], ['customer.id'], ),
      sa.PrimaryKeyConstraint('id')
      )
      op.create_index(op.f('ix_budget_item_date_created'), 'budget_item', ['date_created'], unique=False)
      op.create_index(op.f('ix_budget_item_date_modified'), 'budget_item', ['date_modified'], unique=False)
      # ### end Alembic commands ###
  
  
  def downgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.drop_index(op.f('ix_budget_item_date_modified'), table_name='budget_item')
      op.drop_index(op.f('ix_budget_item_date_created'), table_name='budget_item')
      op.drop_table('budget_item')
      op.drop_table('customer')
      # ### end Alembic commands ###
  