Skip to content
Snippets Groups Projects
Commit 48189c66 authored by Marcin's avatar Marcin Committed by Bartek Wrona
Browse files

check if reptracker is installed

parent 14dec314
No related branches found
No related tags found
2 merge requests!827Merge develop changes to master,!728desynchronize hivemind and reptracker
......@@ -3,6 +3,10 @@ DO $$
DECLARE
__version INT;
BEGIN
ASSERT EXISTS( SELECT 1 FROM information_schema.schemata WHERE schema_name = 'reptracker_app' )
, 'Reputation tracker with schema reptracker_app is not installed'
;
SELECT CURRENT_SETTING('server_version_num')::INT INTO __version;
EXECUTE 'ALTER DATABASE '||current_database()||' SET join_collapse_limit TO 16';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment