From: Michael S. <msa...@pc...> - 2005-06-09 20:43:50
|
Hi Fernan, > Where should I do my edits? Or perhaps the object layer is > created by reading from the database instance only at > installation time? This is correct, what you'll need to do is to rebuild the objects. Before you do that, however, you'll need to add entries to Core.Tableinfo for any new tables you've created. (Also make sure your tables have proper sequences and primary keys). Once you've done that, you touch the VERSION file for the schema like so: touch $PROJECT_HOME/GUS/Model/schema/VERSION And then you rebuild build GUS install -append More details are on the wiki: http://www.gusdb.org/wiki/index.php/UpdateAWorkingGusInstallation You can skip the step about getting the latest GUS. Sorry there aren't better instructions-- there will be for 3.5 --Mike On 6/9/05 4:18 PM, "Fernan Aguero" <fe...@ii...> wrote: > Hi! > > regarding the changes proposed in > https://www.cbil.upenn.edu/tracker/show_bug.cgi?id=33 > > I want to move on and have them available for testing in a > database instance. We have already a working gus test > installation and we just used the submitted SQL DDL to make > the changes to the schema _in the database_. > > The question is how do I make this changes reflect in the > object layer? I have a new est_uid column and will thus need > new set/get methods for this one. > > I was tempted to edit the corresponding _Table.pm and > _Row.pm ... but since they are autogenerated perhaps it's > better if I ask first. > > Where should I do my edits? Or perhaps the object layer is > created by reading from the database instance only at > installation time? > > Thanks in advance, > > Fernan > > PS: this is still in gus 3.0 > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Gusdev-gusdev mailing list > Gus...@li... > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev |