2022-10-20 05:48:41 -05:00
|
|
|
##########################################################################
|
|
|
|
#
|
|
|
|
# pgAdmin 4 - PostgreSQL Tools
|
|
|
|
#
|
2023-01-02 00:23:55 -06:00
|
|
|
# Copyright (C) 2013 - 2023, The pgAdmin Development Team
|
2022-10-20 05:48:41 -05:00
|
|
|
# This software is released under the PostgreSQL Licence
|
|
|
|
#
|
|
|
|
##########################################################################
|
|
|
|
"""
|
2017-09-28 04:02:33 -05:00
|
|
|
|
|
|
|
Revision ID: ef590e979b0d
|
|
|
|
Revises: d85a62333272
|
|
|
|
Create Date: 2017-08-23 18:37:14.836988
|
|
|
|
|
|
|
|
"""
|
|
|
|
from alembic import op
|
|
|
|
import sqlalchemy as sa
|
|
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
|
|
revision = 'ef590e979b0d'
|
|
|
|
down_revision = 'd85a62333272'
|
|
|
|
branch_labels = None
|
|
|
|
depends_on = None
|
|
|
|
|
|
|
|
|
|
|
|
def upgrade():
|
2022-10-20 05:48:41 -05:00
|
|
|
op.add_column('server', sa.Column('passfile', sa.String()))
|
|
|
|
op.add_column('server', sa.Column('sslcert', sa.String()))
|
|
|
|
op.add_column('server', sa.Column('sslkey', sa.String()))
|
|
|
|
op.add_column('server', sa.Column('sslrootcert', sa.String()))
|
|
|
|
op.add_column('server', sa.Column('sslcrl', sa.String()))
|
|
|
|
op.add_column('server', sa.Column('sslcompression', sa.Integer(),
|
|
|
|
server_default='0'))
|
2017-09-28 04:02:33 -05:00
|
|
|
|
|
|
|
|
|
|
|
def downgrade():
|
2020-07-24 01:16:30 -05:00
|
|
|
# pgAdmin only upgrades, downgrade not implemented.
|
2017-09-28 04:02:33 -05:00
|
|
|
pass
|