|
From: <tre...@us...> - 2008-02-06 01:19:26
|
Revision: 707
http://ogoglio.svn.sourceforge.net/ogoglio/?rev=707&view=rev
Author: trevorolio
Date: 2008-02-05 17:19:31 -0800 (Tue, 05 Feb 2008)
Log Message:
-----------
Added the back end and 3D rendering of attachment geometries and appearances, but not yet morphs or skin textures.
Also no example UI for picking attachments in the body editor, yet.
The "time to private parts" for Ogoglio starts now.
Modified Paths:
--------------
maven/trunk/ogoglio-appdev/src/main/java/com/ogoglio/appdev/migrate/MigrationSupport.java
Modified: maven/trunk/ogoglio-appdev/src/main/java/com/ogoglio/appdev/migrate/MigrationSupport.java
===================================================================
--- maven/trunk/ogoglio-appdev/src/main/java/com/ogoglio/appdev/migrate/MigrationSupport.java 2008-02-05 04:00:23 UTC (rev 706)
+++ maven/trunk/ogoglio-appdev/src/main/java/com/ogoglio/appdev/migrate/MigrationSupport.java 2008-02-06 01:19:31 UTC (rev 707)
@@ -132,12 +132,14 @@
Log.error("Cannot migrate data! Property ogoglio.okToMigrateDB is false or non-existent!");
return false;
}
- String hbm_auto_flag = "update";
- if (!isUpdate) {
- hbm_auto_flag = "create";
- }
for (int i = db_is; i < db_wants_to_be; ++i) {
+
+ String hbm_auto_flag = "update";
+ if (i == 0 && !isUpdate) {
+ hbm_auto_flag = "create";
+ }
+
Migration current = getMigrationList()[i];
Log.info("DB: Attempting migration from " + i + " to " + (i + 1) + " with auto HBM:" + hbm_auto_flag);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|