]> git.openstreetmap.org Git - rails.git/commit
Don't bother creating the user index on user_roles as migration 48 will
authorTom Hughes <tom@compton.nu>
Thu, 1 Oct 2009 20:04:33 +0000 (20:04 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 1 Oct 2009 20:04:33 +0000 (20:04 +0000)
commit4708992f1c9e03596d3f9cfe1965c39affe93b56
tree5e056bad9aa3dc91d605ac03ec6ce943d35b7173
parent78e0ec74f74721a2652b7c950d0aa501363bceef
Don't bother creating the user index on user_roles as migration 48 will
create one on user+role that will do the same job.

Removing it here is a bit of a hack as it will not get dropped from
existing databases but as it was not given an explicit name it is hard
to write a migration to drop it.
db/migrate/044_create_user_roles.rb