mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that Backup and Restore should work on shared servers as some cases were failing due to initial changes.
Fixes #6385
This commit is contained in:
committed by
Akshay Joshi
parent
81e077da5e
commit
8ae8fea6d2
@@ -29,7 +29,7 @@ from flask_sqlalchemy import SQLAlchemy
|
||||
#
|
||||
##########################################################################
|
||||
|
||||
SCHEMA_VERSION = 27
|
||||
SCHEMA_VERSION = 28
|
||||
|
||||
##########################################################################
|
||||
#
|
||||
@@ -361,6 +361,11 @@ class SharedServer(db.Model):
|
||||
|
||||
__tablename__ = 'sharedserver'
|
||||
id = db.Column(db.Integer, primary_key=True)
|
||||
osid = db.Column(
|
||||
db.Integer,
|
||||
db.ForeignKey('server.id'),
|
||||
nullable=False
|
||||
)
|
||||
user_id = db.Column(
|
||||
db.Integer,
|
||||
db.ForeignKey(USER_ID)
|
||||
|
||||
Reference in New Issue
Block a user