Re: Migrations create issue with single-table inheritance
Can you confirm that the child entities are using the same Table Name? Can you share what is the error log on the console when migration fails? I've been using single table inheritance and so far didn't face any issues in migration. Farrukh On 2012-07-15, at 6:23 PM, Jesse Tayler wrote: > > last time I setup migrations, there were prototypes that failed, I just > cleaned up by hand I think -- what exactly is your error? > > I doubt is has to do with your inheritance... > > > On Jul 15, 2012, at 1:48 AM, "Mr. Robert Hanviriyapunt" > wrote: > >> I was trying out Migrations just now with a model that has single-table >> inheritance. I had some issues, namely that it choked on lines that added >> columns for the sub-entities. Anyone have the same issue? My work-around >> was to just move them to the parent entity before the create() is called. >> >> = Robert = >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com >> >> This email sent to jtay...@oeinc.com > > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com > > This email sent to farrukh.i...@fuegodigitalmedia.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Migrations create issue with single-table inheritance
last time I setup migrations, there were prototypes that failed, I just cleaned up by hand I think -- what exactly is your error? I doubt is has to do with your inheritance... On Jul 15, 2012, at 1:48 AM, "Mr. Robert Hanviriyapunt" wrote: > I was trying out Migrations just now with a model that has single-table > inheritance. I had some issues, namely that it choked on lines that added > columns for the sub-entities. Anyone have the same issue? My work-around > was to just move them to the parent entity before the create() is called. > > = Robert = > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com > > This email sent to jtay...@oeinc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Migrations create issue with single-table inheritance
Hi Robert, I use single-table inheritance quite often but had never a problem with migrations. What are your issues? What is the code you are using for the migration? Did you generate it in Entity Modeler or did you write it by hand? jw Am 15.07.2012 um 07:48 schrieb Mr. Robert Hanviriyapunt: > I was trying out Migrations just now with a model that has single-table > inheritance. I had some issues, namely that it choked on lines that added > columns for the sub-entities. Anyone have the same issue? My work-around > was to just move them to the parent entity before the create() is called. > > = Robert = ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Migrations create issue with single-table inheritance
I was trying out Migrations just now with a model that has single-table inheritance. I had some issues, namely that it choked on lines that added columns for the sub-entities. Anyone have the same issue? My work-around was to just move them to the parent entity before the create() is called. = Robert = ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com