diff --git a/migrations/20190511092547-create-payment-source.js b/migrations/20190511092547-create-payment-source.js index 47fe8f2..d526198 100644 --- a/migrations/20190511092547-create-payment-source.js +++ b/migrations/20190511092547-create-payment-source.js @@ -21,17 +21,17 @@ module.exports = { key: 'id' } }, - createdAt: { + created_at: { allowNull: false, type: Sequelize.DATE }, - updatedAt: { + updated_at: { allowNull: false, type: Sequelize.DATE } }); }, down: (queryInterface, Sequelize) => { - return queryInterface.dropTable('PaymentSources'); + return queryInterface.dropTable('payment_sources'); } };