···34 })
35 # The webroot is hardcoded as ./wwwroot
36 ./change-webroot.diff
00000037 ];
38 postPatch = ''
39 substituteInPlace API/Services/DirectoryService.cs --subst-var out
···34 })
35 # The webroot is hardcoded as ./wwwroot
36 ./change-webroot.diff
37+ # Upstream removes database migrations between versions
38+ # Restore them to avoid breaking on updates
39+ # Info: Restores migrations for versions between v0.7.1.4 and v0.7.9
40+ # On update: check if more migrations need to be restored!
41+ # Migrations should at least allow updates from previous NixOS versions
42+ ./restore-migrations.diff
43 ];
44 postPatch = ''
45 substituteInPlace API/Services/DirectoryService.cs --subst-var out