src/database/migrations/20191203089312-create-accommodations.js
Function up
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
up: (queryInterface, Sequelize) => {
return queryInterface.createTable('accommodations', {
id: {
allowNull: false,
autoIncrement: true,