Fix: Korrekter Tabellenname für UserRightType Model
- Ändere tableName von 'user_right_type' zu 'user_right' - Die Tabelle heißt type.user_right, nicht type.user_right_type - Behebt: Verwaltungsmenü wird nicht angezeigt für mainadmin
This commit is contained in:
@@ -7,7 +7,7 @@ const UserRightType = sequelize.define('user_right_type', {
|
|||||||
allowNull: false
|
allowNull: false
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
tableName: 'user_right_type',
|
tableName: 'user_right',
|
||||||
schema: 'type',
|
schema: 'type',
|
||||||
underscored: true
|
underscored: true
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user