changeset 5517:5ff9d2f9d357

Fixup rev. eec88a166251 and 8797274e2739: Adapt database initialization
author Tom Gottfried <tom@intevation.de>
date Tue, 19 Oct 2021 17:27:05 +0200
parents b33121a54793
children e3543b442d3d
files schema/std_login_roles.sql
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/schema/std_login_roles.sql	Tue Oct 19 15:00:30 2021 +0200
+++ b/schema/std_login_roles.sql	Tue Oct 19 17:27:05 2021 +0200
@@ -52,7 +52,7 @@
     -- Initial Admin account used to bootstrap the personalized accounts
     IF to_regrole(admin) IS NULL THEN
         INSERT INTO users.list_users VALUES (
-            adminrole, admin, adminpw, dummy_country, box, '');
+            adminrole, admin, adminpw, dummy_country, box, '', false, true);
         RAISE NOTICE 'Default admin user ''%'' created with password ''%''',
             admin, adminpw;
     ELSE