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