mirror of
https://github.com/go-gitea/gitea
synced 2025-07-19 00:38:36 +00:00
Watch backend
This commit is contained in:
@@ -88,7 +88,8 @@ func setEngine() {
|
||||
|
||||
func init() {
|
||||
setEngine()
|
||||
if err := orm.Sync(new(User), new(PublicKey), new(Repository), new(Access), new(Action)); err != nil {
|
||||
if err := orm.Sync(new(User), new(PublicKey), new(Repository), new(Access),
|
||||
new(Action), new(Watch)); err != nil {
|
||||
fmt.Printf("sync database struct error: %v\n", err)
|
||||
os.Exit(2)
|
||||
}
|
||||
|
Reference in New Issue
Block a user