mirror of https://github.com/logos-co/open-law.git
black
This commit is contained in:
parent
e19d728b0a
commit
001a2cf98a
|
@ -10,23 +10,23 @@ import sqlalchemy as sa
|
||||||
|
|
||||||
|
|
||||||
# revision identifiers, used by Alembic.
|
# revision identifiers, used by Alembic.
|
||||||
revision = 'ad0ed27f417f'
|
revision = "ad0ed27f417f"
|
||||||
down_revision = '3d45df38ffa9'
|
down_revision = "3d45df38ffa9"
|
||||||
branch_labels = None
|
branch_labels = None
|
||||||
depends_on = None
|
depends_on = None
|
||||||
|
|
||||||
|
|
||||||
def upgrade():
|
def upgrade():
|
||||||
# ### commands auto generated by Alembic - please adjust! ###
|
# ### commands auto generated by Alembic - please adjust! ###
|
||||||
with op.batch_alter_table('notifications', schema=None) as batch_op:
|
with op.batch_alter_table("notifications", schema=None) as batch_op:
|
||||||
batch_op.add_column(sa.Column('entity_id', sa.Integer(), nullable=False))
|
batch_op.add_column(sa.Column("entity_id", sa.Integer(), nullable=False))
|
||||||
|
|
||||||
# ### end Alembic commands ###
|
# ### end Alembic commands ###
|
||||||
|
|
||||||
|
|
||||||
def downgrade():
|
def downgrade():
|
||||||
# ### commands auto generated by Alembic - please adjust! ###
|
# ### commands auto generated by Alembic - please adjust! ###
|
||||||
with op.batch_alter_table('notifications', schema=None) as batch_op:
|
with op.batch_alter_table("notifications", schema=None) as batch_op:
|
||||||
batch_op.drop_column('entity_id')
|
batch_op.drop_column("entity_id")
|
||||||
|
|
||||||
# ### end Alembic commands ###
|
# ### end Alembic commands ###
|
||||||
|
|
Loading…
Reference in New Issue