Posts by Helder_dsA • 11 points
2 posts
-
0
votes2
answers53
viewsA: ENUM Sequelize Error
class Usuario extends Model { static init(sequelize) { super.init({ nome: DataTypes.STRING, nascimento: DataTypes.DATE, genero: DataTypes.ENUM('masculino', 'feminino'), email: DataTypes.STRING,…
-
1
votes2
answers53
viewsQ: ENUM Sequelize Error
I get the error RangeError: Maximum call stack size exceeded in my model statement. Follow code below: const { Model, DataTypes } = require('sequelize') class Usuario extends Model { static…