Skip to content

Replace meeting_main.formats with DB relationship #1401

@otrok7

Description

@otrok7

There is an m:n relationship between meetings and formats, but this is not represented in the DB. Instead of that, meeting_main.formats is a comma separated list.

This not only makes the search code unnecessarily complicated, but results in a big performance hit for larger DBs (and, I assume, for aggregator).

Using Laravel's wonderful migration mechanism and ORM, this should be relatively straightforward to clean up. And, it's a pure refactoring, so we have the tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions