mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Add a field to the Server Dialogue allowing users to specify a subset of databases they'd like to see in the treeview. Fixes #1918
This commit is contained in:
28
web/migrations/versions/d85a62333272_.py
Normal file
28
web/migrations/versions/d85a62333272_.py
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
"""empty message
|
||||
|
||||
Revision ID: d85a62333272
|
||||
Revises: 3c1e4b6eda55
|
||||
Create Date: 2017-07-07 16:03:23.842734
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
from pgadmin.model import db
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'd85a62333272'
|
||||
down_revision = 'f195f9a4923d'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
db.engine.execute(
|
||||
'ALTER TABLE server ADD COLUMN db_res TEXT'
|
||||
)
|
||||
|
||||
|
||||
def downgrade():
|
||||
pass
|
Reference in New Issue
Block a user