Open
Description
I tried to add tables for two days.
The query was:
db.run(`
PRAGMA foreign_keys = ON;
CREATE TABLE pkgs( .... );
CREATE TABLE subs( ... );
`);
And this query do nothing. Wow!
The bug is only first command runs!
Solution? Yey, just change db.run to db.exec.
Please, fix multiple commands in run or tell about this on wiki docs.
sqlite3 version: 4.0.6
node version: 11.7.0