go-gitea/models/migrations/v44.go
Konrad Langenberg 5fde62ba3a Re-Added Migration
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-24 13:25:27 +02:00

25 lines
489 B
Go

// Copyright 2017 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package migrations
import (
"fmt"
"code.gitea.io/gitea/models"
"github.com/go-xorm/xorm"
)
func addIssueDependencyTables(x *xorm.Engine) (err error) {
err = x.Sync(new(models.IssueDependency))
if err != nil {
return fmt.Errorf("Error creating issue_dependency_table column definition: %v", err)
}
return err
}