Commit f8381d69 by sujata

chnage in event tag

1 parent f56da2de
......@@ -18,9 +18,9 @@
"type": "uid",
"targetField": "Name"
},
"event": {
"events": {
"type": "relation",
"relation": "manyToOne",
"relation": "manyToMany",
"target": "api::event.event",
"inversedBy": "event_tags"
}
......
......@@ -64,9 +64,9 @@
},
"event_tags": {
"type": "relation",
"relation": "oneToMany",
"relation": "manyToMany",
"target": "api::event-tag.event-tag",
"mappedBy": "event"
"mappedBy": "events"
}
}
}
......@@ -1387,7 +1387,7 @@ export interface ApiEventTagEventTag extends Struct.CollectionTypeSchema {
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
event: Schema.Attribute.Relation<'manyToOne', 'api::event.event'>;
events: Schema.Attribute.Relation<'manyToMany', 'api::event.event'>;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
......@@ -1430,7 +1430,7 @@ export interface ApiEventEvent extends Struct.CollectionTypeSchema {
'api::event-category.event-category'
>;
event_tags: Schema.Attribute.Relation<
'oneToMany',
'manyToMany',
'api::event-tag.event-tag'
>;
ImageSlider: Schema.Attribute.Component<'dynamic-zone.image-slider', false>;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!