Backend korrigiert, icons korrigiert, menü-aufklappen verbessert

This commit is contained in:
Torsten Schulz
2024-08-21 21:58:00 +02:00
parent 16a59daf39
commit dfdb1660ff
12 changed files with 29 additions and 16 deletions

View File

@@ -16,7 +16,6 @@ export default function setupAssociations() {
UserParamType.hasMany(UserParam, { foreignKey: 'paramTypeId', as: 'user_params' });
UserParam.belongsTo(UserParamType, { foreignKey: 'paramTypeId', as: 'paramType' });
UserParam.belongsTo(SettingsType, { foreignKey: 'settingsId', as: 'settings' });
UserParam.belongsTo(User, { foreignKey: 'userId', as: 'user' });
UserRight.belongsTo(User, { foreignKey: 'userId' });

View File

@@ -63,3 +63,4 @@ const ContactMessage = sequelize.define('contact_message', {
});
export default ContactMessage;