Agilefant-Agilegret/agilefant — pull request #5 by heinx (2012-02-08 19:15:30+00:00)
Title: Standalone iteration changes

When these changes are migrated the DB schema changes. One can either run the DB migration script in:
doc/upgrade/agilefant_upgrader.sh, or reset the DB by dropping it, creating it and re-creating the schema from a fresh build/create-db.ddl file ("ant create-ddl").

The migration system will use the script in doc/sql/upgrader/205-300.sql and check that if the current database version is 205 ("select * from settings where name='AgilefantDatabaseVersion';"). It will change the schema and update the stories which are under an iteration. The newly created iteration_id will then point to the iteration's db ID and the backlog_id is set to point to the iteration's parent (project backlog).