DB migrations WAS19 #2

Open
opened 2026-04-02 23:25:00 +00:00 by firepear · 0 comments
Owner
  • Use a version field to the meta table to drive migrations
  • Migrations should happen at catalog initialization
  • Driven by a dispatch array -- all elements of the array with an index greater than the value of version should be run
  • Array elements should contain the migration function itself and a description, to be printed/logged at migration time
  • Each migration function should simply returns error. Any value other than nil should be considered a failure
- Use a version field to the meta table to drive migrations - Migrations should happen at catalog initialization - Driven by a dispatch array -- all elements of the array with an index greater than the value of version should be run - Array elements should contain the migration function itself and a description, to be printed/logged at migration time - Each migration function should simply returns error. Any value other than nil should be considered a failure
firepear added this to the (deleted) milestone 2026-05-10 04:25:40 +00:00
firepear modified the milestone from (deleted) to v0.21 2026-05-12 18:34:46 +00:00
firepear removed this from the v0.21 milestone 2026-06-14 16:18:35 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
firepear/thrasher-media-catalog#2
No description provided.