mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Added keep-alive support for SSH sessions when connecting to a PostgreSQL server via an SSH tunnel. #7016
This commit is contained in:
36
web/migrations/versions/ec0f11f9a4e6_.py
Normal file
36
web/migrations/versions/ec0f11f9a4e6_.py
Normal file
@@ -0,0 +1,36 @@
|
||||
##########################################################################
|
||||
#
|
||||
# pgAdmin 4 - PostgreSQL Tools
|
||||
#
|
||||
# Copyright (C) 2013 - 2023, The pgAdmin Development Team
|
||||
# This software is released under the PostgreSQL Licence
|
||||
#
|
||||
##########################################################################
|
||||
|
||||
"""
|
||||
|
||||
Revision ID: ec0f11f9a4e6
|
||||
Revises: 44926ac97232
|
||||
Create Date: 2023-12-18 17:09:34.499652
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'ec0f11f9a4e6'
|
||||
down_revision = '44926ac97232'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.add_column('server', sa.Column('tunnel_keep_alive', sa.Integer(),
|
||||
server_default='0'))
|
||||
op.add_column('sharedserver', sa.Column('tunnel_keep_alive', sa.Integer(),
|
||||
server_default='0'))
|
||||
|
||||
|
||||
def downgrade():
|
||||
# pgAdmin only upgrades, downgrade not implemented.
|
||||
pass
|
||||
Reference in New Issue
Block a user