Skip to content
Snippets Groups Projects
Commit 2c6d2531 authored by tpylak's avatar tpylak
Browse files

minor: javadoc about automatic migration script generation

SVN: 10600
parent 1dcd74b8
No related branches found
No related tags found
No related merge requests found
...@@ -239,6 +239,13 @@ public final class SqlUnitMigrationTest ...@@ -239,6 +239,13 @@ public final class SqlUnitMigrationTest
@Test(groups = @Test(groups =
{ "slow" }) { "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 public final void testMigrationFrom018() throws Exception
{ {
final String databaseKind = "test_migration"; final String databaseKind = "test_migration";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment