From 2c6d2531aad857fdfba79b6890e062a492675f6e Mon Sep 17 00:00:00 2001
From: tpylak <tpylak>
Date: Mon, 6 Apr 2009 11:59:56 +0000
Subject: [PATCH] minor: javadoc about automatic migration script generation

SVN: 10600
---
 .../generic/server/dataaccess/db/SqlUnitMigrationTest.java | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/db/SqlUnitMigrationTest.java b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/db/SqlUnitMigrationTest.java
index d3a7d4d7f8b..e93e3a7a7d1 100644
--- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/db/SqlUnitMigrationTest.java
+++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/db/SqlUnitMigrationTest.java
@@ -239,6 +239,13 @@ public final class SqlUnitMigrationTest
 
     @Test(groups =
         { "slow" })
+    /*
+     * This test checks if the schema of a current database version is equal to the one which was
+     * migrated from the version 18 to the current version with existing migration scripts. If it is
+     * not a case, then the test will fail and will show what is missing in the last migration
+     * script. Note that this test can be used to generate new migration scripts! When you introduce
+     * a new database version, just create an empty migration script and run this test.
+     */
     public final void testMigrationFrom018() throws Exception
     {
         final String databaseKind = "test_migration";
-- 
GitLab