add a line that adds Monitoring app ipp if it did not exist yet
This commit is contained in:
parent
5ac175e44e
commit
eeb2456f0f
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ def upgrade():
|
||||||
op.add_column('app', sa.Column('url', sa.String(length=128), nullable=True))
|
op.add_column('app', sa.Column('url', sa.String(length=128), nullable=True))
|
||||||
# ### end Alembic commands ###
|
# ### end Alembic commands ###
|
||||||
|
|
||||||
|
# Add monitoring app
|
||||||
|
op.execute(f'INSERT IGNORE INTO app (`name`, `slug`) VALUES ("Monitoring","monitoring")')
|
||||||
|
|
||||||
|
|
||||||
def downgrade():
|
def downgrade():
|
||||||
# ### commands auto generated by Alembic - please adjust! ###
|
# ### commands auto generated by Alembic - please adjust! ###
|
||||||
|
|
Loading…
Reference in a new issue