19 lines
472 B
JavaScript
19 lines
472 B
JavaScript
'use strict';
|
|
|
|
/** @type {import('sequelize-cli').Migration} */
|
|
module.exports = {
|
|
async up(queryInterface, Sequelize) {
|
|
await queryInterface.addColumn('wms_api_app', 'callback_url', {
|
|
type: Sequelize.STRING(500),
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: 'API回调通知URL',
|
|
after: 'self_ip_whitelist',
|
|
});
|
|
},
|
|
|
|
async down(queryInterface) {
|
|
await queryInterface.removeColumn('wms_api_app', 'callback_url');
|
|
},
|
|
};
|