summaryrefslogtreecommitdiff
path: root/src/auditordb/versioning.sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/auditordb/versioning.sql')
-rw-r--r--src/auditordb/versioning.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/auditordb/versioning.sql b/src/auditordb/versioning.sql
index 116f409b7..444cf95ed 100644
--- a/src/auditordb/versioning.sql
+++ b/src/auditordb/versioning.sql
@@ -146,12 +146,13 @@
BEGIN;
+
-- This file adds versioning support to database it will be loaded to.
-- It requires that PL/pgSQL is already loaded - will raise exception otherwise.
-- All versioning "stuff" (tables, functions) is in "_v" schema.
-- All functions are defined as 'RETURNS SETOF INT4' to be able to make them to RETURN literally nothing (0 rows).
--- >> RETURNS VOID<< IS similar, but it still outputs "empty line" in psql when calling.
+-- >> RETURNS VOID<< IS similar, but it still outputs "empty line" in psql when calling
CREATE SCHEMA IF NOT EXISTS _v;
COMMENT ON SCHEMA _v IS 'Schema for versioning data and functionality.';