1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-24 08:02:18 +02:00

fixed compile error in migration script

This commit is contained in:
Brad Rydzewski 2014-02-17 22:48:31 -07:00
parent bbb4bf48e0
commit cb042e1c1a

View File

@ -10,7 +10,7 @@ func (r *Rev3) Revision() int64 {
func (r *Rev3) Up(op Operation) error {
_, err := op.AddColumn("settings", "github_domain VARCHAR(255)")
if err {
if err != nil {
return err
}
_, err = op.AddColumn("settings", "github_apiurl VARCHAR(255)")