kopia lustrzana https://github.com/FacilMap/facilmap
Add Views to missing columns migrations
rodzic
2f01085c55
commit
d738f8c969
|
@ -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 = [ ];
|
||||
|
|
Ładowanie…
Reference in New Issue