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:
Torsten Schulz (local)
2025-10-20 21:33:12 +02:00
parent 5c1252801e
commit 47f5def67c

View File

@@ -7,7 +7,7 @@ const UserRightType = sequelize.define('user_right_type', {
allowNull: false
}
}, {
tableName: 'user_right_type',
tableName: 'user_right',
schema: 'type',
underscored: true
});