Skip to content

Commit

Permalink
Track sqlj schema by release.
Browse files Browse the repository at this point in the history
Add a static final alias for past name used for the schema layout.
  • Loading branch information
jcflack committed Feb 1, 2016
1 parent adaed74 commit 7719715
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,11 +366,11 @@ private static SchemaVariant recognizeSchema( Connection c, Statement s)
* up to date.
*/
private static final SchemaVariant currentSchema =
SchemaVariant.UNREL20130301b;
SchemaVariant.REL_1_5_0_BETA1;

private enum SchemaVariant
{
UNREL20130301b ("c51cffa34acd5a228325143ec29563174891a873")
REL_1_5_0_BETA1 ("c51cffa34acd5a228325143ec29563174891a873")
{
@Override
void migrateFrom( SchemaVariant sv, Connection c, Statement s)
Expand Down Expand Up @@ -419,6 +419,8 @@ void migrateFrom( SchemaVariant sv, Connection c, Statement s)
UNREL20040120 ("5e4131738cd095b7ff6367d64f809f6cec6a7ba7"),
EMPTY (null);

static final SchemaVariant UNREL20130301b = REL_1_5_0_BETA1;

String sha;
SchemaVariant( String sha)
{
Expand Down

0 comments on commit 7719715

Please sign in to comment.