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:
parent
bbb4bf48e0
commit
cb042e1c1a
@ -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)")
|
||||
|
Loading…
Reference in New Issue
Block a user