mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Added support for schema level restriction. Fixes #5583
Allow user to edit the connection properties when the database server is already connected.
This commit is contained in:
committed by
Akshay Joshi
parent
4c05287677
commit
c873218c32
32
web/migrations/versions/84700139beb0_.py
Normal file
32
web/migrations/versions/84700139beb0_.py
Normal file
@@ -0,0 +1,32 @@
|
||||
|
||||
"""empty message
|
||||
|
||||
Revision ID: 84700139beb0
|
||||
Revises: d39482714a2e
|
||||
Create Date: 2020-06-24 15:53:56.489518
|
||||
|
||||
"""
|
||||
from pgadmin.model import db
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '84700139beb0'
|
||||
down_revision = 'd39482714a2e'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
db.engine.execute("""
|
||||
CREATE TABLE "database" (
|
||||
"id" INTEGER NOT NULL,
|
||||
"schema_res" TEXT,
|
||||
"server" INTEGER NOT NULL,
|
||||
PRIMARY KEY("id","server"),
|
||||
FOREIGN KEY("server") REFERENCES "server"("id")
|
||||
);
|
||||
""")
|
||||
|
||||
|
||||
def downgrade():
|
||||
pass
|
Reference in New Issue
Block a user