text: 'use strict';
  module.exports = {
      up: (queryInterface, Sequelize) => {
          return queryInterface.createTable('subject_teachers', {
              teacher_id: {
                  allowNull: false,
                  type: Sequelize.INTEGER
              },
              grade_id:{
                  allowNull: false,
                  type: Sequelize.INTEGER
              },
              subject_id: {
                  type: Sequelize.INTEGER,
                  allowNull: false,
              },
              created_at: {
                  allowNull: false,
                  type: Sequelize.DATE
              },
              updated_at: {
                  allowNull: false,
                  type: Sequelize.DATE
              }
          });
      },
      down: (queryInterface, Sequelize) => {
          return queryInterface.dropTable('subject_teachers');
      }
  };