fk constraint patch for sexy_migrations
-
Chris Wanstrath
- State changed from new to open
- Assigned user set to Chris Wanstrath
Cool. Can you try out http://pastie.caboo.se/53963 and see if it works? I put the @fk_references stuff inside the each loop since fk can take multiple arguments.
-
Chris Wanstrath
- State changed from open to resolved
http://require.errtheblog.com/plugins/changeset/186
Thanks! I spiffed up the README a bit too, don't mind it.
-
Chris Wanstrath
- State changed from resolved to open
Right, brain fart.
What if we did it that way? Since
foreign_keytakes a symbol, we couldsymbol.to_s.tableizeand try to use that ifis true? Raise an error if that table isn't found? -
Chris Wanstrath
Can you try this patch against r186?
I really need to setup some tests for this plugin...
-
Chris Wanstrath
- State changed from open to resolved
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.