0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00
forgejo/models/migrations
Gusted 82e4ff7e88
[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 8bd051e6df)
(cherry picked from commit 2c55a40c79)
(cherry picked from commit 260d938e92)
(cherry picked from commit cf7c08031f)
(cherry picked from commit 59c1547517)
2023-07-16 23:44:22 +02:00
..
base Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
fixtures Remove wrongly added column on migration test fixtures (#23456) 2023-03-14 19:49:59 +08:00
v1_6 Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
v1_7
v1_8 Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
v1_9
v1_10 Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
v1_11 Fix all possible setting error related storages and added some tests (#23911) (#25244) 2023-06-14 08:36:52 +02:00
v1_12 Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
v1_13 Remove most path-based golangci exclusions (#24214) 2023-04-19 22:08:01 -04:00
v1_14 Remove most path-based golangci exclusions (#24214) 2023-04-19 22:08:01 -04:00
v1_15 Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
v1_16 Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
v1_17 Drop migration for ForeignReference (#23605) 2023-03-23 15:01:55 -04:00
v1_18 Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
v1_19 Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
v1_20 Redesign Scoped Access Tokens (#24767) 2023-06-04 20:57:16 +02:00
migrations.go [DB] Forgejo database migrations 2023-07-16 23:44:22 +02:00