1
0
Fork 0
gitea/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
v271.go
v272.go Add optimistic lock to ActionRun table (#26563) 2023-08-21 14:07:52 +00:00
v273.go chore(actions): support cron schedule task (#26655) 2023-08-24 03:06:51 +00:00
v274.go Artifacts retention and auto clean up (#26131) 2023-09-06 07:41:06 +00:00
v275.go Add a new column schedule_id for action_run to track (#26975) 2023-09-08 23:01:19 +08:00
v276.go Fix wrong xorm get usage on migration (#27111) 2023-09-18 22:59:19 +03:00