Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
2c6d2531
Commit
2c6d2531
authored
15 years ago
by
tpylak
Browse files
Options
Downloads
Patches
Plain Diff
minor: javadoc about automatic migration script generation
SVN: 10600
parent
1dcd74b8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/db/SqlUnitMigrationTest.java
+7
-0
7 additions, 0 deletions
...is/generic/server/dataaccess/db/SqlUnitMigrationTest.java
with
7 additions
and
0 deletions
openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/db/SqlUnitMigrationTest.java
+
7
−
0
View file @
2c6d2531
...
@@ -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"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment