fix video blob
This commit is contained in:
1 parent
343bdd8c7c
commit
f1042a1c2c
4 files changed
+39
-16
No files matched your search
@@ -6,6 +6,8 @@ module.exports = function() {
|
||||
var pool = mysql.createPool(config);
|
||||
|
||||
pool.query(fs.readFileSync(__dirname+'/schema.sql').toString());
|
||||
if (config.max_allowed_packet)
|
||||
pool.query("set global max_allowed_packet=?", [config.max_allowed_packet]);
|
||||
|
||||
return pool;
|
||||
};
|
||||
Reference in new issue
Block a user