Skip to content

Commit

Permalink
Adds some activity for old incidents (#1815)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgliss authored Nov 15, 2021
1 parent cf85317 commit ff2d87b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column("participant", sa.Column("activity", sa.Integer(), nullable=True))
# add some activity for backwards compatibility
op.execute("update participant set activity = 1 where activity isnull")
# ### end Alembic commands ###


Expand Down

0 comments on commit ff2d87b

Please sign in to comment.