Files
jellyfin-ha-src/MediaBrowser.Model
unkin-agent 2e3d24cc05
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
fix(db): restore the PostgreSQL upgrade path
The v12.0 rebase replaced the PostgreSQL provider's initial migration instead of
adding to it, so an existing database kept the pre-12.0 schema while the code
migrations ran against it and startup aborted on a missing NormalizedUsername.

- restore 20260305010333_InitialPostgreSql as the baseline
- add 20260306000000_UpgradeToServer12Schema carrying it to the 12.0 model
- convert OwnerId and PrimaryVersionId to uuid with explicit casts, clear
  unparseable ids and repoint dangling owners at the placeholder item
- drop orphaned permissions and preferences before UserId becomes non-nullable
- add 20260524120336_AddUniqueNormalizedUsernameIndex after the code migration
  that fills the column in
- read an empty or unknown encoding.xml EncoderPreset as the default
- cover both paths against a real PostgreSQL and guard the migration ordering
2026-09-12 15:32:12 +10:00
..
2020-02-23 12:11:43 +01:00
2026-05-21 20:48:41 +02:00
2025-05-04 08:40:34 -06:00
2026-05-21 20:48:41 +02:00
2025-01-25 20:05:15 -05:00
2020-08-20 15:17:42 +08:00
2026-05-21 20:48:41 +02:00
2026-03-24 22:23:48 -04:00
2022-12-05 15:00:20 +01:00
2026-05-21 20:48:41 +02:00