parent
6bc292f122
commit
354eddb673
|
@ -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,4);
|
||||
INSERT INTO version (major,minor) VALUES (0,5);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
BEGIN;
|
||||
|
||||
--UPDATE version SET minor = 5;
|
||||
UPDATE version SET minor = 5;
|
||||
|
||||
CREATE OR REPLACE PROCEDURE update_vote_points(normaluser int, follower int, subscriber int)
|
||||
LANGUAGE SQL
|
||||
|
|
|
@ -5,8 +5,8 @@ import pg from "pg";
|
|||
import db from "./db";
|
||||
|
||||
var versionMajor = 0;
|
||||
var versionMinor = 4;
|
||||
var versionPatch = 1;
|
||||
var versionMinor = 5;
|
||||
var versionPatch = 0;
|
||||
|
||||
export function getVersion() {
|
||||
return `${versionMajor}.${versionMinor}.${versionPatch}`
|
||||
|
|
Loading…
Reference in New Issue