Added capability to deploy PostgreSQL servers on Amazon RDS. Fixes #7177

This commit is contained in:
Khushboo Vashi
2022-02-14 12:13:48 +05:30
committed by Akshay Joshi
parent b89e306df0
commit e61a1045f5
50 changed files with 3393 additions and 42 deletions

View File

@@ -30,7 +30,7 @@ import uuid
#
##########################################################################
SCHEMA_VERSION = 32
SCHEMA_VERSION = 33
##########################################################################
#
@@ -192,6 +192,7 @@ class Server(db.Model):
tunnel_password = db.Column(db.String(64), nullable=True)
shared = db.Column(db.Boolean(), nullable=False)
kerberos_conn = db.Column(db.Boolean(), nullable=False, default=0)
cloud_status = db.Column(db.Integer(), nullable=False, default=0)
@property
def serialize(self):
@@ -325,6 +326,11 @@ class Process(db.Model):
acknowledge = db.Column(db.String(), nullable=True)
utility_pid = db.Column(db.Integer, nullable=False)
process_state = db.Column(db.Integer, nullable=False)
server_id = db.Column(
db.Integer,
db.ForeignKey('server.id'),
nullable=True
)
class Keys(db.Model):