first round of files
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package migrations
|
||||
|
||||
import (
|
||||
"github.com/forgao/forgebucket/internal/models"
|
||||
"xorm.io/xorm"
|
||||
)
|
||||
|
||||
func Run(engine *xorm.Engine) error {
|
||||
return engine.Sync2(
|
||||
&models.User{},
|
||||
&models.Repository{},
|
||||
&models.PullRequest{},
|
||||
&models.FederationActor{},
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user