Skip to content

Commit

Permalink
impl-postgres: actually bump schema version to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vs49688 committed Sep 17, 2020
1 parent 5a0e407 commit be6d784
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
public class NimrodAPIFactoryImpl implements NimrodAPIDatabaseFactory {

/* Follow Semver 2.0 for these. */
public static final int SCHEMA_MAJOR = 1;
public static final int SCHEMA_MAJOR = 2;
public static final int SCHEMA_MINOR = 0;
public static final int SCHEMA_PATCH = 0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ VALUES
;

CREATE OR REPLACE FUNCTION get_schema_version() RETURNS TABLE(major INTEGER, minor INTEGER, patch INTEGER) AS $$
SELECT 1, 0, 0;
SELECT 2, 0, 0;
$$ LANGUAGE SQL IMMUTABLE;

CREATE OR REPLACE FUNCTION is_schema_compatible(_major INTEGER, _minor INTEGER, _patch INTEGER) RETURNS BOOLEAN AS $$
Expand Down

0 comments on commit be6d784

Please sign in to comment.