mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
12 lines
334 B
JavaScript
12 lines
334 B
JavaScript
'use strict';
|
|
|
|
/** @type {import('sequelize-cli').Migration} */
|
|
module.exports = {
|
|
async up (queryInterface, Sequelize) {
|
|
return queryInterface.addColumn('places', 'ap_id', { type: Sequelize.STRING, index: true })
|
|
},
|
|
|
|
async down (queryInterface, Sequelize) {
|
|
return queryInterface.removeColumn('places', 'ap_id')
|
|
}
|
|
};
|