mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-30 12:33:52 -06:00
33 lines
776 B
Python
33 lines
776 B
Python
##########################################################################
|
|
#
|
|
# pgAdmin 4 - PostgreSQL Tools
|
|
#
|
|
# Copyright (C) 2013 - 2018, The pgAdmin Development Team
|
|
# 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
|
|
|
|
"""
|
|
from pgadmin.model import db
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = 'aa86fb60b73d'
|
|
down_revision = '493cd3e39c0c'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
db.engine.execute(
|
|
'ALTER TABLE server ADD COLUMN tunnel_password TEXT(64)'
|
|
)
|
|
|
|
|
|
def downgrade():
|
|
pass
|