mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-20 00:40:26 +00:00
Add units concept for modulable functions of a repository (#742)
* Add units concept for modulable functions of a repository * remove unused comment codes & fix lints and tests * remove unused comment codes * use struct config instead of map * fix lint * rm wrong files * fix tests
This commit is contained in:
parent
49fa03bf42
commit
8a421b1fd7
16 changed files with 668 additions and 89 deletions
|
@ -76,10 +76,12 @@ var migrations = []Migration{
|
|||
|
||||
// v13 -> v14:v0.9.87
|
||||
NewMigration("set comment updated with created", setCommentUpdatedWithCreated),
|
||||
// v14
|
||||
// v14 -> v15
|
||||
NewMigration("create user column diff view style", createUserColumnDiffViewStyle),
|
||||
// v15
|
||||
// v15 -> v16
|
||||
NewMigration("create user column allow create organization", createAllowCreateOrganizationColumn),
|
||||
// V16 -> v17
|
||||
NewMigration("create repo unit table and add units for all repos", addUnitsToTables),
|
||||
}
|
||||
|
||||
// Migrate database to current version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue