forgejo/models/migrations/v1_21
Lunny Xiao e644cc9448
Fix wrong xorm get usage on migration (#27111)
Fix the bug on try.gitea.io

```log
2023/09/18 01:48:41 ...ations/migrations.go:635:Migrate() [I] Migration[276]: Add RemoteAddress to mirrors
2023/09/18 01:48:41 routers/common/db.go:34:InitDBEngine() [E] ORM engine initialization attempt #7/10 failed. Error: migrate: migration[276]: Add RemoteAddress to mirrors failed: exit status 128 - fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
 - fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
```

Caused by #26952

---------

Co-authored-by: Jason Song <i@wolfogre.com>
2023-09-18 22:59:19 +03:00
..
main_test.go
v260.go
v261.go
v262.go
v263.go
v264.go
v265.go
v266.go
v267.go
v268.go
v269.go
v270.go Fix typo in metadata (#26207) 2023-07-30 23:54:22 +00:00
v271.go
v272.go
v273.go
v274.go
v275.go
v276.go Fix wrong xorm get usage on migration (#27111) 2023-09-18 22:59:19 +03:00