parent
84a22ccffd
commit
b968f054d5
|
@ -8,4 +8,4 @@ CREATE OR REPLACE FUNCTION get_version() RETURNS VARCHAR
|
|||
AS $$SELECT major || '.' || minor FROM version $$
|
||||
LANGUAGE SQL;
|
||||
|
||||
INSERT INTO version (major,minor) VALUES (0,5);
|
||||
INSERT INTO version (major,minor) VALUES (0,6);
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
BEGIN;
|
||||
|
||||
UPDATE version SET minor = 6;
|
||||
|
||||
COMMIT;
|
|
@ -5,8 +5,8 @@ import pg from "pg";
|
|||
import db from "./db";
|
||||
|
||||
var versionMajor = 0;
|
||||
var versionMinor = 5;
|
||||
var versionPatch = 1;
|
||||
var versionMinor = 6;
|
||||
var versionPatch = 0;
|
||||
|
||||
export function getVersion() {
|
||||
return `${versionMajor}.${versionMinor}.${versionPatch}`
|
||||
|
|
Loading…
Reference in New Issue