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 { func (r *Rev3) Up(op Operation) error {
_, err := op.AddColumn("settings", "github_domain VARCHAR(255)") _, err := op.AddColumn("settings", "github_domain VARCHAR(255)")
if err { if err != nil {
return err return err
} }
_, err = op.AddColumn("settings", "github_apiurl VARCHAR(255)") _, err = op.AddColumn("settings", "github_apiurl VARCHAR(255)")