mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-08 15:13:10 -06:00
37 lines
976 B
Python
37 lines
976 B
Python
##########################################################################
|
|
#
|
|
# pgAdmin 4 - PostgreSQL Tools
|
|
#
|
|
# Copyright (C) 2013 - 2025, The pgAdmin Development Team
|
|
# This software is released under the PostgreSQL Licence
|
|
#
|
|
##########################################################################
|
|
|
|
"""Added server id for cloud deployment
|
|
|
|
Revision ID: 1586db67b98e
|
|
Revises: 15c88f765bc8
|
|
Create Date: 2022-01-04 13:08:05.484598
|
|
|
|
"""
|
|
import sqlalchemy as sa
|
|
from alembic import op
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '1586db67b98e'
|
|
down_revision = '15c88f765bc8'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
op.add_column('process', sa.Column('server_id', sa.Integer(),
|
|
server_default='0'))
|
|
op.add_column('server', sa.Column('cloud_status', sa.Integer(),
|
|
server_default='0'))
|
|
|
|
|
|
def downgrade():
|
|
# pgAdmin only upgrades, downgrade not implemented.
|
|
pass
|