"""published fabs index on true

Revision ID: 5dbc09749ce0
Revises: 605bcaf99c01
Create Date: 2018-01-09 10:04:40.991666

"""

# revision identifiers, used by Alembic.
revision = '5dbc09749ce0'
down_revision = '605bcaf99c01'
branch_labels = None
depends_on = None

from alembic import op
import sqlalchemy as sa


def upgrade(engine_name):
    globals()["upgrade_%s" % engine_name]()


def downgrade(engine_name):
    globals()["downgrade_%s" % engine_name]()





def upgrade_data_broker():
    ### commands auto generated by Alembic - please adjust! ###
    op.create_index('ix_published_award_financial_assistance_is_active', 'published_award_financial_assistance', ['is_active'], unique=False, postgresql_where=sa.text('is_active IS true'))
    ### end Alembic commands ###


def downgrade_data_broker():
    ### commands auto generated by Alembic - please adjust! ###
    op.drop_index('ix_published_award_financial_assistance_is_active', table_name='published_award_financial_assistance')
    ### end Alembic commands ###


d766b03a7e95e69e1bfb6dcc95478000a282eb9a
<mask token>


def upgrade(engine_name):
    globals()['upgrade_%s' % engine_name]()


def downgrade(engine_name):
    globals()['downgrade_%s' % engine_name]()


def upgrade_data_broker():
    op.create_index('ix_published_award_financial_assistance_is_active',
        'published_award_financial_assistance', ['is_active'], unique=False,
        postgresql_where=sa.text('is_active IS true'))


<mask token>

<mask token>


def upgrade(engine_name):
    globals()['upgrade_%s' % engine_name]()


def downgrade(engine_name):
    globals()['downgrade_%s' % engine_name]()


def upgrade_data_broker():
    op.create_index('ix_published_award_financial_assistance_is_active',
        'published_award_financial_assistance', ['is_active'], unique=False,
        postgresql_where=sa.text('is_active IS true'))


def downgrade_data_broker():
    op.drop_index('ix_published_award_financial_assistance_is_active',
        table_name='published_award_financial_assistance')

<mask token>
revision = '5dbc09749ce0'
down_revision = '605bcaf99c01'
branch_labels = None
depends_on = None
<mask token>


def upgrade(engine_name):
    globals()['upgrade_%s' % engine_name]()


def downgrade(engine_name):
    globals()['downgrade_%s' % engine_name]()


def upgrade_data_broker():
    op.create_index('ix_published_award_financial_assistance_is_active',
        'published_award_financial_assistance', ['is_active'], unique=False,
        postgresql_where=sa.text('is_active IS true'))


def downgrade_data_broker():
    op.drop_index('ix_published_award_financial_assistance_is_active',
        table_name='published_award_financial_assistance')

<mask token>
revision = '5dbc09749ce0'
down_revision = '605bcaf99c01'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa


def upgrade(engine_name):
    globals()['upgrade_%s' % engine_name]()


def downgrade(engine_name):
    globals()['downgrade_%s' % engine_name]()


def upgrade_data_broker():
    op.create_index('ix_published_award_financial_assistance_is_active',
        'published_award_financial_assistance', ['is_active'], unique=False,
        postgresql_where=sa.text('is_active IS true'))


def downgrade_data_broker():
    op.drop_index('ix_published_award_financial_assistance_is_active',
        table_name='published_award_financial_assistance')

"""published fabs index on true

Revision ID: 5dbc09749ce0
Revises: 605bcaf99c01
Create Date: 2018-01-09 10:04:40.991666

"""

# revision identifiers, used by Alembic.
revision = '5dbc09749ce0'
down_revision = '605bcaf99c01'
branch_labels = None
depends_on = None

from alembic import op
import sqlalchemy as sa


def upgrade(engine_name):
    globals()["upgrade_%s" % engine_name]()


def downgrade(engine_name):
    globals()["downgrade_%s" % engine_name]()





def upgrade_data_broker():
    ### commands auto generated by Alembic - please adjust! ###
    op.create_index('ix_published_award_financial_assistance_is_active', 'published_award_financial_assistance', ['is_active'], unique=False, postgresql_where=sa.text('is_active IS true'))
    ### end Alembic commands ###


def downgrade_data_broker():
    ### commands auto generated by Alembic - please adjust! ###
    op.drop_index('ix_published_award_financial_assistance_is_active', table_name='published_award_financial_assistance')
    ### end Alembic commands ###

