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