text: module.exports = (sequelize, DataTypes) => {
      const Account = sequelize.define('Account', {
          email: {
              type: DataTypes.STRING,
              allowNull: false
          },
          password: {
              type: DataTypes.STRING,
              allowNull: false
          },
          password_confirmation: {
              type: DataTypes.STRING,
              allowNull: false
          },
          jwtVersion: {
              type: DataTypes.INTEGER,
              allowNull: false,
              defaultValue: 0
          }
      });
  
      Account.associate = (models) => {
          Account.hasMany(models.Link, {foreignKey: 'accountId'});
      }
  
      Account.prototype.toJSON = function() {
          const values = { ...this.get() };
          delete values.password;
          delete values.password_confirmation;
          return values;
      };
  
      return Account;
  };