in the middle of rewriting it
This commit is contained in:
		@@ -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