Commit f8381d69 by sujata

chnage in event tag

1 parent f56da2de
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
"type": "uid", "type": "uid",
"targetField": "Name" "targetField": "Name"
}, },
"event": { "events": {
"type": "relation", "type": "relation",
"relation": "manyToOne", "relation": "manyToMany",
"target": "api::event.event", "target": "api::event.event",
"inversedBy": "event_tags" "inversedBy": "event_tags"
} }
......
...@@ -64,9 +64,9 @@ ...@@ -64,9 +64,9 @@
}, },
"event_tags": { "event_tags": {
"type": "relation", "type": "relation",
"relation": "oneToMany", "relation": "manyToMany",
"target": "api::event-tag.event-tag", "target": "api::event-tag.event-tag",
"mappedBy": "event" "mappedBy": "events"
} }
} }
} }
...@@ -1387,7 +1387,7 @@ export interface ApiEventTagEventTag extends Struct.CollectionTypeSchema { ...@@ -1387,7 +1387,7 @@ export interface ApiEventTagEventTag extends Struct.CollectionTypeSchema {
createdAt: Schema.Attribute.DateTime; createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private; 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; locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation< localizations: Schema.Attribute.Relation<
'oneToMany', 'oneToMany',
...@@ -1430,7 +1430,7 @@ export interface ApiEventEvent extends Struct.CollectionTypeSchema { ...@@ -1430,7 +1430,7 @@ export interface ApiEventEvent extends Struct.CollectionTypeSchema {
'api::event-category.event-category' 'api::event-category.event-category'
>; >;
event_tags: Schema.Attribute.Relation< event_tags: Schema.Attribute.Relation<
'oneToMany', 'manyToMany',
'api::event-tag.event-tag' 'api::event-tag.event-tag'
>; >;
ImageSlider: Schema.Attribute.Component<'dynamic-zone.image-slider', false>; 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!