fixed compile error in migration script
This commit is contained in:
parent
bbb4bf48e0
commit
cb042e1c1a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue