reinit whereinputadvanced in /add , and init only/also online mechanism, various fixes: admin edit place; bug in nominatim display_name when place in certain nominatim_class, init refactor geocoding related code in services/geocoding/provider; init MapEdit component
This commit is contained in:
29
server/migrations/20221215110244-event-locations.js
Normal file
29
server/migrations/20221215110244-event-locations.js
Normal file
@@ -0,0 +1,29 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
async up (queryInterface, Sequelize) {
|
||||
/**
|
||||
* Add altering commands here.
|
||||
*
|
||||
* Example:
|
||||
* await queryInterface.createTable('users', { id: Sequelize.INTEGER });
|
||||
*/
|
||||
return Promise.all(
|
||||
[
|
||||
await queryInterface.addColumn('events', 'locations', { type: Sequelize.JSON }),
|
||||
])
|
||||
},
|
||||
|
||||
async down (queryInterface, Sequelize) {
|
||||
/**
|
||||
* Add reverting commands here.
|
||||
*
|
||||
* Example:
|
||||
* await queryInterface.dropTable('users');
|
||||
*/
|
||||
return Promise.all(
|
||||
[
|
||||
await queryInterface.removeColumn('events', 'locations'),
|
||||
])
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user