
Indexes are not created for STI child columns during automigration
Reported by Greg Campbell | February 3rd, 2009 @ 05:28 PM
See attached script. :index => true doesn't appear to have any effect for automigrations of STI subclasses.
Comments and changes to this ticket
-
Dan Kubb (dkubb) February 21st, 2009 @ 02:37 AM
- State changed from unconfirmed to confirmed
I can confirm this is a bug.
One thing to keep in mind is that while indexes should be used in subclasses, unique indexes should not be. If a unique index is created for a property that only exists in a subclass then it would become impossible to save the superclass or any siblings.
-
Dan Kubb (dkubb) June 16th, 2009 @ 10:39 PM
- Assigned user set to Dan Kubb (dkubb)
- State changed from confirmed to accepted
- Milestone set to 0.10.1
-
Dan Kubb (dkubb) October 4th, 2009 @ 09:33 PM
- Milestone changed from 0.10.1 to 0.10.2
[project:id#20609 not-tagged:"0.10.0" not-tagged:"0.10.1" milestone:id#51895 bulk edit command]
-
Dan Kubb (dkubb) February 1st, 2010 @ 04:33 PM
- Milestone changed from 0.10.2 to 1.0.0
-
-
-
Dan Kubb (dkubb) February 2nd, 2010 @ 02:47 AM
- State changed from accepted to confirmed
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »