UNPKG

spark-property-manager

Version:
21 lines (20 loc) 457 B
'use strict'; module.exports = { up: (queryInterface, Sequelize) => { return queryInterface.createTable('property_type', { id: { allowNull: false, autoIncrement: true, primaryKey: true, type: Sequelize.INTEGER }, name: { allowNull: false, type: Sequelize.STRING } }); }, down: (queryInterface, Sequelize) => { return queryInterface.dropTable('property_type'); } };