in the middle of rewriting it
This commit is contained in:
1 parent
d0e32dfcae
commit
ded3085d90
7 files changed
+786
-710
No files matched your search
@@ -3,7 +3,6 @@ module.exports = function(config) {
|
||||
var fs = require('fs');
|
||||
config.multipleStatements = true;
|
||||
var pool = mysql.createPool(config);
|
||||
console.log(__dirname+'/schema.sql')
|
||||
pool.query(fs.readFileSync(__dirname+'/schema.sql').toString());
|
||||
if (config.max_allowed_packet)
|
||||
pool.query("set global max_allowed_packet=?", [config.max_allowed_packet]);
|
||||
|
||||
Reference in new issue
Block a user