Closed anbraten closed 1 year ago
It would be nice to use the migrations helpers from Woodpecker in other projects (exp Gitea) using xorm as well.
https://github.com/woodpecker-ci/woodpecker/blob/master/server/store/datastore/migration/common.go
https://github.com/go-gitea/gitea/blob/main/models/migrations/migrations.go#L522-L1016 is also worth a look
And the migration handling itself probably too.
Got pointed to https://github.com/techknowlogick/xormigrate
It would be nice to use the migrations helpers from Woodpecker in other projects (exp Gitea) using xorm as well.
https://github.com/woodpecker-ci/woodpecker/blob/master/server/store/datastore/migration/common.go