Add Views to missing columns migrations

pull/54/merge
Candid Dauth 2016-11-04 14:24:02 +03:00
rodzic 2f01085c55
commit d738f8c969
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -46,7 +46,7 @@ module.exports = function(Database) {
}));
var addColMigrations = renameColMigrations.then(() => {
return Promise.all([ 'Marker', 'Type' ].map((table) => {
return Promise.all([ 'Marker', 'Type', 'View' ].map((table) => {
var model = this._conn.model(table);
queryInterface.describeTable(model.getTableName()).then((attributes) => {
var promises = [ ];