16 lines
268 B
JavaScript
16 lines
268 B
JavaScript
|
const path = require('path');
|
||
|
const fs = require('fs');
|
||
|
|
||
|
const dbVersion = '0.0.0';
|
||
|
|
||
|
function migrateDb(oldVersion, sequelize) {
|
||
|
// if (oldVersion < targetVersion) {
|
||
|
// migrate db here
|
||
|
// }
|
||
|
return sequelize;
|
||
|
}
|
||
|
|
||
|
module.exports = {
|
||
|
dbVersion,
|
||
|
migrateDb,
|
||
|
};
|