Bump version to v0.8
parent
8b49d51e08
commit
90f672b288
|
@ -8,4 +8,4 @@ CREATE OR REPLACE FUNCTION get_version() RETURNS VARCHAR
|
||||||
AS $$SELECT major || '.' || minor FROM version $$
|
AS $$SELECT major || '.' || minor FROM version $$
|
||||||
LANGUAGE SQL;
|
LANGUAGE SQL;
|
||||||
|
|
||||||
INSERT INTO version (major,minor) VALUES (0,7);
|
INSERT INTO version (major,minor) VALUES (0,8);
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
BEGIN;
|
BEGIN;
|
||||||
|
|
||||||
|
UPDATE version SET minor = 8;
|
||||||
|
|
||||||
ALTER TABLE config
|
ALTER TABLE config
|
||||||
ALTER COLUMN normaluservotepoints SET DEFAULT 10,
|
ALTER COLUMN normaluservotepoints SET DEFAULT 10,
|
||||||
ALTER COLUMN followervotepoints SET DEFAULT 50,
|
ALTER COLUMN followervotepoints SET DEFAULT 50,
|
||||||
|
@ -30,5 +32,4 @@ CREATE OR REPLACE VIEW ratelimit_vw AS
|
||||||
)) AS ratelimit(reqcount);
|
)) AS ratelimit(reqcount);
|
||||||
|
|
||||||
|
|
||||||
ROLLBACK;
|
COMMIT;
|
||||||
--COMMIT;
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ import pg from "pg";
|
||||||
import db from "./db";
|
import db from "./db";
|
||||||
|
|
||||||
var versionMajor = 0;
|
var versionMajor = 0;
|
||||||
var versionMinor = 7;
|
var versionMinor = 8;
|
||||||
var versionPatch = 0;
|
var versionPatch = 0;
|
||||||
|
|
||||||
export function getVersion() {
|
export function getVersion() {
|
||||||
|
|
Loading…
Reference in New Issue