Fix invalid PGSQL data type for permissionLevel
This commit is contained in:
parent
477e1d0611
commit
97247373a9
|
@ -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: {
|
||||||
|
|
Loading…
Reference in New Issue