
auto_upgrade! fails for mysq + mongo adapter
Reported by Marcin Kulik | June 5th, 2010 @ 06:51 AM
Hey,
I have app using mysql and mongo adapters and when I try to run auto_upgrade it gives following error:
Comments and changes to this ticket
-
Dan Kubb (dkubb) June 6th, 2010 @ 01:46 AM
- State changed from new to unconfirmed
- Assigned user set to Dan Kubb (dkubb)
I wonder if this is related to #1306 ? Can you confirm the patch I attached in that ticket also resolves this problem?
-
Marcin Kulik June 6th, 2010 @ 03:11 AM
The patch changed error message to this: http://gist.github.com/427402
I've reproduced the problem on single script, here it is: http://gist.github.com/427416
-
Piotr Solnica (solnic) June 6th, 2010 @ 04:51 AM
It seems like incorrect repository is picked up. From the backtrace I can read that do adapter tries to do something with "_id" field which is specific to mongo in our case.
-
Piotr Solnica (solnic) May 17th, 2011 @ 02:28 AM
- Tag changed from mongo-adapter mysql-adapter, auto_upgrade to auto_upgrade, dm-migrations
- Milestone order changed from 0 to 0
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 »