Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

tests fail with migration error with AR 3.0 beta2 #63

Closed
norman opened this Issue · 0 comments

1 participant

@norman
Owner

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
end

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.