text: 'use strict';
  module.exports = {
    async up(queryInterface, Sequelize) {
      await queryInterface.createTable('routes', {
        id: {
          allowNull: false,
          autoIncrement: true,
          primaryKey: true,
          type: Sequelize.INTEGER
        },
        routename: {
          type: Sequelize.STRING,
          defaultValue: null,
          allowNull: true
        },
        routecode: {
          type: Sequelize.STRING,
          defaultValue: null,
          allowNull: true
        },
        createdAt: {
          allowNull: true,
          type: Sequelize.DATE,
          defaultValue: Sequelize.fn("NOW")
        },
        updatedAt: {
          allowNull: true,
          type: Sequelize.DATE,
          defaultValue: Sequelize.fn("NOW")
        }
      });
    },
    async down(queryInterface, Sequelize) {
      await queryInterface.dropTable('routes');
    }
  };