This project is archived and is in readonly mode.
table_name_prefix with db:schema:load causes double prefixes
-
Pratik
- State changed from new to duplicate
-
Ben Woosley
- Assigned user set to Pratik
- Importance changed from to
Pratik, while his "additionally" note does describe #1543 index "unique_schema_migrations" should use table prefix/suffix, the rest does not. I can confirm the duplicate prefix from db:test:prepare is a real problem on 2.3.5 at least.
-
Pratik
- Assigned user cleared.
- State changed from duplicate to open
-
Neeraj Singh
- Milestone changed from 2.x to 2.3.9
-
DLitz
The problem is that the SchemaDumper isn't aware of table_name_(prefix|suffix). The attached patch against Rails 2.3.10 fixes this issue.
-
rails
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.
-
rails
- State changed from open to stale
-
DLitz
This is a bug against 2-3-stable, not 3-0-stable, and yes it still applies.
