The normal column helpers do not recognize the options `polymorphic` or `index` -- only the `references` helper does. So this should instead be:

`t.references :voteable, polymorphic: true, index: true`