From: Hans F. <fu...@us...> - 2004-07-02 17:39:36
|
Update of /cvsroot/neelix/neelix/db In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25218/db Modified Files: db.xml Log Message: Everything seems to be working with one exception. There's a bug regarding moving ingredients that I haven't pinned down yet. Sometimes the ingredient goes off into limbo (in the db, but not on screen, so you have to restart), but other times it doesn't. Once that bug is fixed, we're ready to clean up and package it 0.1.0! Index: db.xml =================================================================== RCS file: /cvsroot/neelix/neelix/db/db.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- db.xml 20 Dec 2003 06:38:35 -0000 1.2 +++ db.xml 2 Jul 2004 17:39:26 -0000 1.3 @@ -54,7 +54,7 @@ <!-- CREATE TABLE ingredient ( ingredient_id int NOT NULL auto_increment PRIMARY KEY, - recipe_id int NOT NULL, + recipe_id int, measure_id int NOT NULL, food_id int NOT NULL, quantity float NOT NULL, @@ -63,7 +63,7 @@ ); --> <col name="ingredient_id" type="int"><not_null/><auto_increment/><primary_key/></col> - <col name="recipe_id" type="int"><not_null/></col> + <col name="recipe_id" type="int"/> <col name="measure_id" type="int"><not_null/></col> <col name="food_id" type="int"><not_null/></col> <col name="quantity" type="float"/> |