'use strict' module.exports = { up: (queryInterface, Sequelize) => { return queryInterface.createTable('sites', { id: { primaryKey: true, autoIncrement: true, type: Sequelize.BIGINT.UNSIGNED }, name: { allowNull: false, type: Sequelize.STRING(20) } }) /* Add altering commands here. Return a promise to correctly handle asynchronicity. Example: return queryInterface.createTable('users', { id: Sequelize.INTEGER }); */ }, down: (queryInterface, Sequelize) => { /* Add reverting commands here. Return a promise to correctly handle asynchronicity. Example: return queryInterface.dropTable('users'); */ } }