forked from yaso_meth/mih-project
Add new patient access route, add new db connection for data_access DB, add security to notification apis, create new patient access apis (get, add, update), update patient queue api to remove access and revoke date
This commit is contained in:
@@ -15,6 +15,15 @@ def dbAppDataConnect():
|
||||
passwd="C@rtoon1995",
|
||||
database="app_data"
|
||||
)
|
||||
|
||||
def dbDataAccessConnect():
|
||||
return mysql.connector.connect(
|
||||
host="mysqldb",
|
||||
user="root",
|
||||
passwd="C@rtoon1995",
|
||||
database="data_access"
|
||||
)
|
||||
|
||||
def dbAllConnect():
|
||||
return mysql.connector.connect(
|
||||
host="mysqldb",
|
||||
|
||||
Reference in New Issue
Block a user