##########################################################################
#
# pgAdmin 4 - PostgreSQL Tools
#
# Copyright (C) 2013 - 2021, The pgAdmin Development Team
# This software is released under the PostgreSQL Licence
#
##########################################################################

""" Added utility pid to stop process

Revision ID: ece2e76bf60e
Revises: ca00ec32581b
Create Date: 2018-10-18 14:45:13.483068

"""

from pgadmin.model import db

# revision identifiers, used by Alembic.
revision = 'ece2e76bf60e'
down_revision = 'ca00ec32581b'
branch_labels = None
depends_on = None


def upgrade():
    db.engine.execute(
        'ALTER TABLE process ADD COLUMN utility_pid INTEGER'
    )


def downgrade():
    # pgAdmin only upgrades, downgrade not implemented.
    pass
