Use new db-migrate which allows to specify the db backend

We use only mysql, so updating this means a lot of unused db backends
like sqlite do not need to be built with gyp anymore.
Note that this version is not yet released as stable, but works fine for
us. The outstanding issues are not related to our use-case from what I
can tell.

Fixes #82
This commit is contained in:
Johannes Zellner
2017-02-07 10:22:52 +01:00
parent 96a0bad149
commit 1b43ccca6f
51 changed files with 231 additions and 1035 deletions

View File

@@ -1,5 +1,4 @@
var dbm = global.dbm || require('db-migrate');
var type = dbm.dataType;
'use strict';
exports.up = function(db, callback) {
db.runSql('ALTER TABLE users DROP COLUMN showTutorial', function (error) {