serlo / documentation

General documenation for software developers at serlo.org
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

DB-Migrations: Finalize leftover DB-Migrations #4

Closed kulla closed 9 months ago

kulla commented 1 year ago
kulla commented 1 year ago

DB-Migrations: Keine Markdown-Revisionen mehr in der DB + Update auf das neue Tabellenplugin (Blocker für "Formeln und Links in Kommentaren")

CodingDive commented 1 year ago

We should also think about having a somewhat consistent naming schema for foreign keys. Here I had no idea that repository_id points to entity until I checked the relationships. It would be much better to use for example entity_id

image

CodingDive commented 1 year ago

We should also use this migration to get rid of old tables like metadata and metadata_key.

Maybe there are also some other tables that are no longer being used.

kulla commented 9 months ago

All done in other PRs...