Mercurial > gemma
diff schema/gemma.sql @ 5323:eec88a166251 extented-report
Added report_reciever column to user_profiles table.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 29 May 2021 17:19:03 +0200 |
parents | f11b9b50fcc9 |
children | ac1986c23889 |
line wrap: on
line diff
--- a/schema/gemma.sql Thu May 27 15:09:13 2021 +0200 +++ b/schema/gemma.sql Sat May 29 17:19:03 2021 +0200 @@ -384,7 +384,8 @@ -- keep username length compatible with role identifier country char(2) NOT NULL REFERENCES countries, map_extent box2d NOT NULL, - email_address varchar NOT NULL + email_address varchar NOT NULL, + report_reciever boolean NOT NULL DEFAULT false ) ; @@ -492,7 +493,8 @@ CAST('' AS varchar) AS pw, p.country, p.map_extent, - p.email_address + p.email_address, + p.report_reciever FROM internal.user_profiles p JOIN pg_roles u ON p.username = u.rolname JOIN pg_auth_members a ON u.oid = a.member