Update missing order settings in database import order file

This commit is contained in:
Clemens Schwaighofer
2020-01-28 11:07:12 +09:00
parent 6807f33120
commit 719d82d4ee
3 changed files with 19 additions and 14 deletions

View File

@@ -2,7 +2,7 @@
CREATE OR REPLACE FUNCTION set_uid() RETURNS TRIGGER AS '
DECLARE
random_length INT = 12; -- that should be long enough
random_length INT = 32; -- that should be long enough
BEGIN
IF TG_OP = ''INSERT'' THEN
NEW.uid := random_string(random_length);