File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 150150 "default" : " localhost" ,
151151 "markdownDescription" : " Database host address."
152152 },
153+ "inlineSQL.dbDatabase" : {
154+ "type" : " string" ,
155+ "default" : " postgres" ,
156+ "markdownDescription" : " Database name."
157+ },
153158 "inlineSQL.dbPort" : {
154159 "type" : " number" ,
155160 "default" : 5432 ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ export type Configuration = {
1212 dbDriver : DRIVER ;
1313 dbHost : string ;
1414 dbPort : number ;
15+ dbDatabase : string ;
1516 dbUser : string ;
1617 dbPassword : string ;
1718 lintSQLFiles : boolean ;
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ async function checkRange(
2323 sql : sqlStr ,
2424 driver : configuration . get < string > ( 'dbDriver' ) ,
2525 host : configuration . get < string > ( 'dbHost' ) ,
26+ database : configuration . get < string > ( 'dbDatabase' ) ,
2627 port : configuration . get < number > ( 'dbPort' ) ,
2728 user : configuration . get < string > ( 'dbUser' ) ,
2829 password : configuration . get < string > ( 'dbPassword' ) ,
You can’t perform that action at this time.
0 commit comments