Skip to content

Commit 035eb1c

Browse files
authored
feat(db): add createDatabase
Merge pull request #3 from wmertens/patch-1 Allow new sqlite database
2 parents 97a1e1b + d550811 commit 035eb1c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ var Sqlite3Driver = Base.extend({
1717
this.connection = connection;
1818
},
1919

20+
createDatabase: function(cb){
21+
// sqlite does this automatically if needed
22+
return Promise.resolve(null).nodeify(cb);
23+
},
24+
2025
startMigration: function(cb){
2126

2227
if(!internals.notransactions) {

0 commit comments

Comments
 (0)