Backend korrigiert, icons korrigiert, menü-aufklappen verbessert
This commit is contained in:
@@ -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' });
|
||||
|
||||
@@ -63,3 +63,4 @@ const ContactMessage = sequelize.define('contact_message', {
|
||||
});
|
||||
|
||||
export default ContactMessage;
|
||||
|
||||
Reference in New Issue
Block a user