1
0
Fork 0
mirror of https://gitlab.com/Alamantus/Readlebee.git synced 2025-06-14 13:26:38 +02:00

Fix invalid PGSQL data type for permissionLevel

This commit is contained in:
Robbie Antenesse 2020-07-28 11:53:05 -06:00
parent 477e1d0611
commit 97247373a9

View file

@ -23,7 +23,7 @@ module.exports = sequelize => sequelize.define('Shelf', {
}, },
}, },
permissionLevel: { permissionLevel: {
type: Sequelize.NUMBER, type: Sequelize.INTEGER,
allowNull: false, allowNull: false,
defaultValue: 0, defaultValue: 0,
references: { references: {