forgejo/models/migrations
Gusted 683cfd86ef
[DB] Forgejo database migrations
- Implements https://codeberg.org/forgejo/discussions/issues/32#issuecomment-918737
- Allows to add Forgejo-specific migrations that don't interfere with Gitea's migration logic. Please do note that we cannot liberally add migrations for Gitea tables, as they might do their own migrations in a future version on that table, and that could undo our migrations. Luckily,  we don't have a scenario where that's needed and thus not taken into account.

Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/795
(cherry picked from commit 8ee32978c0)
(cherry picked from commit c240b34f59)
(cherry picked from commit 03936c6492)
(cherry picked from commit a20ed852f8)
(cherry picked from commit 1dfa82676f)
(cherry picked from commit c39ae0bf8a)
(cherry picked from commit cfaff08996)
(cherry picked from commit 94a458835a)
(cherry picked from commit 61a3cf77df)
(cherry picked from commit abb350fde8)
(cherry picked from commit 5194829d6b)
(cherry picked from commit 89239a60f2)
2023-08-22 08:41:56 +02:00
..
base Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
fixtures Remove wrongly added column on migration test fixtures (#23456) 2023-03-14 19:49:59 +08:00
v1_6 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_7 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_8 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_9 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_10 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_11 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_12 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_13 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_14 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_15 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_16 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_17 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_18 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_19 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_20 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_21 Add optimistic lock to ActionRun table (#26563) 2023-08-21 14:07:52 +00:00
migrations.go [DB] Forgejo database migrations 2023-08-22 08:41:56 +02:00