2018-08-06 05:26:46 -05:00
|
|
|
##########################################################################
|
|
|
|
#
|
|
|
|
# pgAdmin 4 - PostgreSQL Tools
|
|
|
|
#
|
2024-01-01 02:43:48 -06:00
|
|
|
# Copyright (C) 2013 - 2024, The pgAdmin Development Team
|
2018-08-06 05:26:46 -05:00
|
|
|
# This software is released under the PostgreSQL Licence
|
|
|
|
#
|
|
|
|
##########################################################################
|
|
|
|
"""Added new column 'tunnel_password' to save the password of SSH Tunnel.
|
|
|
|
|
|
|
|
Revision ID: aa86fb60b73d
|
|
|
|
Revises: 493cd3e39c0c
|
|
|
|
Create Date: 2018-07-26 11:19:50.879849
|
|
|
|
|
|
|
|
"""
|
2022-10-20 05:48:41 -05:00
|
|
|
from alembic import op
|
|
|
|
import sqlalchemy as sa
|
2018-08-06 05:26:46 -05:00
|
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
|
|
revision = 'aa86fb60b73d'
|
|
|
|
down_revision = '493cd3e39c0c'
|
|
|
|
branch_labels = None
|
|
|
|
depends_on = None
|
|
|
|
|
|
|
|
|
|
|
|
def upgrade():
|
2022-10-20 05:48:41 -05:00
|
|
|
op.add_column('server', sa.Column('tunnel_password', sa.String(length=64)))
|
2018-08-06 05:26:46 -05:00
|
|
|
|
|
|
|
|
|
|
|
def downgrade():
|
2020-07-24 01:16:30 -05:00
|
|
|
# pgAdmin only upgrades, downgrade not implemented.
|
2018-08-06 05:26:46 -05:00
|
|
|
pass
|