File tree 1 file changed +8
-0
lines changed
src/masoniteorm/connections
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,10 @@ def create_connection(self):
85
85
password = self .password ,
86
86
host = self .host ,
87
87
port = self .port ,
88
+ sslmode = self .options .get ("sslmode" ),
89
+ sslcert = self .options .get ("sslcert" ),
90
+ sslkey = self .options .get ("sslkey" ),
91
+ sslrootcert = self .options .get ("sslrootcert" ),
88
92
options = (
89
93
f"-c search_path={ self .schema or self .full_details .get ('schema' )} "
90
94
if self .schema or self .full_details .get ("schema" )
@@ -106,6 +110,10 @@ def create_connection(self):
106
110
password = self .password ,
107
111
host = self .host ,
108
112
port = self .port ,
113
+ sslmode = self .options .get ("sslmode" ),
114
+ sslcert = self .options .get ("sslcert" ),
115
+ sslkey = self .options .get ("sslkey" ),
116
+ sslrootcert = self .options .get ("sslrootcert" ),
109
117
options = (
110
118
f"-c search_path={ self .schema or self .full_details .get ('schema' )} "
111
119
if self .schema or self .full_details .get ("schema" )
You can’t perform that action at this time.
0 commit comments