Skip to content

Remove legacy tags_list field #704

Closed

Description

Problem

The media models use an unnecessary legacy tags_list field.

Description

When the machine-generated tags were added, the data model for them changed from simple array of strings a list of ForeignKeys to a separate ImageTags table to an array of objects with properties such as provider and accuracy (only for machine-generated tags). The tags_list property was deprecated, but not removed from the database: cc-archive/cccatalog-api#182

We should remove it.

Alternatives

We could also convert all tags to use simple string array since we are not really using machine-generated tags. But I think we will want to use them in the future, and removing them now to re-add later is an unnecessary complication.

Additional context

Implementation

  • 🙋 I would be interested in implementing this feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions