UNPKG

@tomei/live-price

Version:

Tomei live-price Package

39 lines (36 loc) 946 B
'use strict'; /** @type {import('sequelize-cli').Migration} */ module.exports = { up: async (queryInterface, Sequelize) => { await queryInterface.createTable('price_FeedConfig', { FeedConfigId: { type: Sequelize.STRING(30), allowNull: false, primaryKey: true, }, NotificationEmail: { type: Sequelize.STRING(500), allowNull: true, }, CutOffReminderInternal: { type: Sequelize.INTEGER, allowNull: true, }, ManualPriceReminderInternal: { type: Sequelize.INTEGER, allowNull: true, }, UpdatedAt: { type: Sequelize.DATE, allowNull: false, }, UpdatedById: { type: Sequelize.STRING(30), allowNull: false, }, }); }, down: async (queryInterface, Sequelize) => { await queryInterface.dropTable('price_FeedConfig'); }, };