module.exports = (sequelize, DataTypes) => {
  const variables = sequelize.define(
    "variables",
    {
      id: {
        type: DataTypes.INTEGER,
        primaryKey: true,
        autoIncrement: true,
      },
      name: DataTypes.STRING,
      type: DataTypes.STRING,
    },
    {
      timestamps: true,
      freezeTableName: true,
      tableName: "variables",
      createdAt: "created_at",
      updatedAt: "updated_at",
    }
  );

  return variables;
};
