mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1) Fixed process watcher status message when user has stopped the process.
2) Saved the process state in sqlite database.
This commit is contained in:
33
web/migrations/versions/b5b87fdfcb30_.py
Normal file
33
web/migrations/versions/b5b87fdfcb30_.py
Normal file
@@ -0,0 +1,33 @@
|
||||
##########################################################################
|
||||
#
|
||||
# pgAdmin 4 - PostgreSQL Tools
|
||||
#
|
||||
# Copyright (C) 2013 - 2018, The pgAdmin Development Team
|
||||
# This software is released under the PostgreSQL Licence
|
||||
#
|
||||
##########################################################################
|
||||
|
||||
"""Added state of the utility process
|
||||
|
||||
Revision ID: b5b87fdfcb30
|
||||
Revises: ece2e76bf60e
|
||||
Create Date: 2018-10-24 12:37:59.487969
|
||||
|
||||
"""
|
||||
from pgadmin.model import db
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'b5b87fdfcb30'
|
||||
down_revision = 'ece2e76bf60e'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
db.engine.execute(
|
||||
'ALTER TABLE process ADD COLUMN process_state INTEGER DEFAULT 0'
|
||||
)
|
||||
|
||||
|
||||
def downgrade():
|
||||
pass
|
||||
Reference in New Issue
Block a user