Skip to content
Snippets Groups Projects
Select Git revision
  • 77d2cbf09c5beda5d6f65c78caed5b971a0618ae
  • master default protected
  • postgres_integration
  • s3compatible
  • intros
  • bootstrap4
  • modules
7 results

config.py.example

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    a06cc03bdef4_.py 1004 B
    """empty message
    
    Revision ID: a06cc03bdef4
    Revises: 4b813bbbd8ef
    Create Date: 2017-03-15 22:47:07.462793
    
    """
    from alembic import op
    import sqlalchemy as sa
    
    
    # revision identifiers, used by Alembic.
    revision = 'a06cc03bdef4'
    down_revision = '4b813bbbd8ef'
    branch_labels = None
    depends_on = None
    
    
    def upgrade():
        # ### commands auto generated by Alembic - please adjust! ###
        op.create_table('localtops',
        sa.Column('id', sa.Integer(), nullable=False),
        sa.Column('protocol_id', sa.Integer(), nullable=True),
        sa.Column('defaulttop_id', sa.Integer(), nullable=True),
        sa.Column('description', sa.String(), nullable=True),
        sa.ForeignKeyConstraint(['defaulttop_id'], ['defaulttops.id'], ),
        sa.ForeignKeyConstraint(['protocol_id'], ['protocols.id'], ),
        sa.PrimaryKeyConstraint('id')
        )
        # ### end Alembic commands ###
    
    
    def downgrade():
        # ### commands auto generated by Alembic - please adjust! ###
        op.drop_table('localtops')
        # ### end Alembic commands ###