Skip to content

tests fail with migration error with AR 3.0 beta2 #63

norman opened this Issue Apr 2, 2010 · 0 comments

1 participant

norman commented Apr 2, 2010

Apparently they've removed support for creating indexes in table definitions, so this code no longer works:

create_table :districts do |t|
  t.string :name
  t.string :cached_slug
  t.index :cached_slug, :unique => true

Perhaps this was never really supported; not sure. Either way, it's gone as of the latest beta. Will move these migrations to use add_index instead, at least for now.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.