text: /**
   * Handles the creation/deletion of the users table in the database
   */
  module.exports = {
    up: (queryInterface, Sequelize) =>
      queryInterface.createTable('users', {
        id: {
          allowNull: false,
          autoIncrement: true,
          primaryKey: true,
          type: Sequelize.INTEGER,
        },
        email: {
          allowNull: false,
          type: Sequelize.STRING,
        },
        password: {
          allowNull: false,
          type: Sequelize.STRING,
        },
        username: {
          allowNull: false,
          type: Sequelize.STRING,
        },
        nickname: {
          allowNull: false,
          type: Sequelize.STRING,
        },
        profilePic: {
          allowNull: true,
          type: Sequelize.STRING,
        },
        profileBanner: {
          allowNull: true,
          type: Sequelize.STRING,
        },
        bio: {
          allowNull: true,
          type: Sequelize.STRING,
        },
        joinedDate: {
          allowNull: false,
          type: Sequelize.INTEGER,
        },
        createdAt: {
          allowNull: false,
          type: Sequelize.DATE,
        },
        updatedAt: {
          allowNull: false,
          type: Sequelize.DATE,
        },
      }),
    down: (queryInterface) => queryInterface.dropTable('users'),
  }
  