Merge branch 'master' into skysql_field
# Conflicts: # bookings/src/db.js # flights/src/db.js # orders/src/db.js # places/src/db.jsskysql_field
commit
d296119d31
|
@ -1,8 +1,12 @@
|
|||
const fs = require("fs");
|
||||
var mariadb = require('mariadb');
|
||||
require('dotenv').config();
|
||||
|
||||
const serverCert = [fs.readFileSync("skysql_chain.pem", "utf8")]
|
||||
// SSL (e.g. SkySQL) connections
|
||||
// * Remember to change the location of "skysql_chain.pem" to wherever you placed it!
|
||||
// * To use just uncomment the two lines below and the 'ssl' property (and value)
|
||||
|
||||
const fs = require("fs");
|
||||
const serverCert = [fs.readFileSync("skysql_chain.pem", "utf8")];
|
||||
|
||||
const pool = mariadb.createPool({
|
||||
host: process.env.DB_HOST,
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
const fs = require("fs");
|
||||
var mariadb = require('mariadb');
|
||||
require('dotenv').config();
|
||||
|
||||
// SSL (e.g. SkySQL) connections
|
||||
// * Remember to change the location of "skysql_chain.pem" to wherever you placed it!
|
||||
// * To use just uncomment the two lines below and the 'ssl' property (and value)
|
||||
|
||||
const fs = require("fs");
|
||||
const serverCert = [fs.readFileSync("skysql_chain.pem", "utf8")];
|
||||
|
||||
const pool = mariadb.createPool({
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
const fs = require("fs");
|
||||
var mariadb = require('mariadb');
|
||||
require('dotenv').config();
|
||||
|
||||
// For SSL connections
|
||||
const serverCert = [fs.readFileSync("skysql_chain.pem", "utf8")];
|
||||
// SSL (e.g. SkySQL) connections
|
||||
// * Remember to change the location of "skysql_chain.pem" to wherever you placed it!
|
||||
// * To use just uncomment the two lines below and the 'ssl' property (and value)
|
||||
|
||||
const fs = require("fs");
|
||||
const serverCert = [fs.readFileSync("skysql_chain.pem", "utf8")];r
|
||||
|
||||
var pools = [
|
||||
mariadb.createPool({
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
const fs = require("fs");
|
||||
var mariadb = require('mariadb');
|
||||
require('dotenv').config();
|
||||
|
||||
const serverCert = [fs.readFileSync("skysql_chain_t.pem", "utf8")];
|
||||
// SSL (e.g. SkySQL) connections
|
||||
// * Remember to change the location of "skysql_chain.pem" to wherever you placed it!
|
||||
// * To use just uncomment the two lines below and the 'ssl' property (and value)
|
||||
|
||||
const fs = require("fs");
|
||||
const serverCert = [fs.readFileSync("skysql_chain.pem", "utf8")];
|
||||
|
||||
const pool = mariadb.createPool({
|
||||
host: process.env.DB_HOST,
|
||||
|
|
Ładowanie…
Reference in New Issue