text: 'use strict';
  
  module.exports = {
    up: async (queryInterface, Sequelize) => {
      const { INTEGER, DATE, STRING } = Sequelize;
      await queryInterface.createTable('course_type', {
        Id: {
          type: INTEGER,
          primaryKey: true,
          autoIncrement: true,
        },
        name: STRING(20),
        grade: INTEGER,
        describe: STRING(255),
        created_at: DATE,
        updated_at: DATE,
      });
    },
  
    down: async queryInterface => {
      await queryInterface.dropTable('course_type');
    },
  };
  