Migrating from "artifacts_publications" to "entities_publications"
As per the GSoC 2022 idea list "Expanding the reference system", the new database system should have an "entities_publications" join table that replaces the existing "artifacts_publications" table to support linking publications and all other types of entities. This is a breaking change so all other parts of code that uses "artifacts_publications" should be modified.