Browse Source

Merge pull request '服务启动速度优化' (#2371) from del-unneeded-opts into V20220630

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/2371
Reviewed-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.6.2^2
zouap 3 years ago
parent
commit
54c17d8940
1 changed files with 2 additions and 6 deletions
  1. +2
    -6
      models/custom_migrations.go

+ 2
- 6
models/custom_migrations.go View File

@@ -15,13 +15,9 @@ type CustomMigrationStatic struct {
Migrate func(*xorm.Engine, *xorm.Engine) error
}

var customMigrations = []CustomMigration{
{"Custom v1 Topic struct change to support chinese", syncTopicStruct},
}
var customMigrations []CustomMigration

var customMigrationsStatic = []CustomMigrationStatic{
{"update issue_fixed_rate to 1 if num_issues is 0 ", updateIssueFixedRate},
}
var customMigrationsStatic []CustomMigrationStatic

func MigrateCustom(x *xorm.Engine) {



Loading…
Cancel
Save