Migration generator tries to delete non-hobofields tables
Reported by Matt Jones | October 13th, 2008 @ 05:29 PM | in Hobo 1.0 - Final
While the migration generator will not create up migrations for models that don't do a 'fields', the converse is not true - it constantly wants to drop tables that don't correspond to models with declared fields.
It also wants to drop habtm join tables. While the main Hobo project strongly advises against habtm, it seems odd to carry that into Hobofields.
I'm currently investigating how to handle this best.
Comments and changes to this ticket
-
Tom Locke October 14th, 2008 @ 04:14 PM
- State changed from new to open
I guess for now you could add those to ignore_tables, but that would be a pain.
Would be nice if the migration generator handled these automatically...
-
Tom Locke January 6th, 2009 @ 05:32 PM
- Milestone set to Hobo 1.0 - Final
Getting rid of 0.9 milestone. Hobo 0.9 will be essentially 1.0 release candidate
-
kevinpfromnm March 17th, 2009 @ 02:04 AM
Maybe add a third option to the drop table in the migration generator to ignore. That way it only will crop up once per table.
-
Matt Jones November 10th, 2009 @ 04:28 AM
- State changed from open to resolved
This is handled now by the code merged in from indexgen. Still need to get HABTM tables created, but at least we're ignoring them now.
-
Tom Locke November 27th, 2009 @ 10:44 PM
(from [3cc16fc85046d03cfa971ce2dadedef79d39e269]) [#296 state:resolved] Handle creation of HABTM join tables http://github.com/tablatom/hobo/commit/3cc16fc85046d03cfa971ce2dade...
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 ยป
People watching this ticket
Referenced by
- 296 Migration generator tries to delete non-hobofields tables (from [3cc16fc85046d03cfa971ce2dadedef79d39e269]) [#296 s...