Bump version to v0.5

master v0.5
Dessa Simpson 2021-02-24 20:15:16 -07:00
parent 6bc292f122
commit 354eddb673
3 changed files with 4 additions and 4 deletions

View File

@ -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,4); INSERT INTO version (major,minor) VALUES (0,5);

View File

@ -1,6 +1,6 @@
BEGIN; BEGIN;
--UPDATE version SET minor = 5; UPDATE version SET minor = 5;
CREATE OR REPLACE PROCEDURE update_vote_points(normaluser int, follower int, subscriber int) CREATE OR REPLACE PROCEDURE update_vote_points(normaluser int, follower int, subscriber int)
LANGUAGE SQL LANGUAGE SQL

View File

@ -5,8 +5,8 @@ import pg from "pg";
import db from "./db"; import db from "./db";
var versionMajor = 0; var versionMajor = 0;
var versionMinor = 4; var versionMinor = 5;
var versionPatch = 1; var versionPatch = 0;
export function getVersion() { export function getVersion() {
return `${versionMajor}.${versionMinor}.${versionPatch}` return `${versionMajor}.${versionMinor}.${versionPatch}`