text: 'use strict';
  
  module.exports = {
    up: (queryInterface, Sequelize) => {
      return queryInterface.createTable('stacks', {
        id: {
          allowNull: false,
          primaryKey: true,
          autoIncrement: true,
          type: Sequelize.INTEGER,
        },
        name: {
          allowNull: false,
          type: Sequelize.STRING
        },
        slug: {
          allowNull: false,
          type: Sequelize.STRING,
          unique: true
        },
        icon: {
          allowNull: false,
          type: Sequelize.STRING
        },
        createdAt: Sequelize.DATE,
        updatedAt: Sequelize.DATE
      });
    },
  
    down: (queryInterface) => {
      return queryInterface.dropTable('stacks')
    }
  };
  