Git LFS section is live with:

Enable LFS toggle — turns LFS on/off for the repo; all other controls dim when disabled
File locking toggle — enables the LFS locking protocol for binary assets
Maximum file size — optional per-file size cap in MB (blank = unlimited)
Info callout linking to the git-lfs client install page and noting the .gitattributes requirement
This commit is contained in:
2026-05-07 16:12:25 +02:00
parent 39eeccb314
commit 803672a610
7 changed files with 328 additions and 2 deletions
+4 -1
View File
@@ -28,5 +28,8 @@ func Run(engine *xorm.Engine) error {
if err := Run005(engine); err != nil {
return err
}
return Run006(engine)
if err := Run006(engine); err != nil {
return err
}
return Run007(engine)
}
+10
View File
@@ -0,0 +1,10 @@
package migrations
import (
"github.com/forgeo/forgebucket/internal/models"
"xorm.io/xorm"
)
func Run007(engine *xorm.Engine) error {
return engine.Sync2(&models.RepoLFSSettings{})
}