`undefined method `[]' for nil:NilClass/home/julius/gosrc/src/github.com/prometheus/promdash/db/migrate/20140507234559_convert_to_multiple_legend_strings.rb:7:in `block (2 levels) in up'`

I don't see a check for widget type here, so maybe that's the only reason for this error?