Commit f56da2de by sujata

chnage in event tag

1 parent a7e91666
......@@ -18,9 +18,9 @@
"type": "uid",
"targetField": "Name"
},
"event": {
"events": {
"type": "relation",
"relation": "manyToOne",
"relation": "manyToMany",
"target": "api::event.event",
"inversedBy": "event_categories"
}
......
......@@ -55,9 +55,9 @@
},
"event_categories": {
"type": "relation",
"relation": "oneToMany",
"relation": "manyToMany",
"target": "api::event-category.event-category",
"mappedBy": "event"
"mappedBy": "events"
},
"smalldescription": {
"type": "text"
......
......@@ -1328,7 +1328,7 @@ export interface ApiEventCategoryEventCategory
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',
......@@ -1426,7 +1426,7 @@ export interface ApiEventEvent extends Struct.CollectionTypeSchema {
}
>;
event_categories: Schema.Attribute.Relation<
'oneToMany',
'manyToMany',
'api::event-category.event-category'
>;
event_tags: Schema.Attribute.Relation<
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!