This commit is contained in:
2025-11-28 13:40:57 +01:00
parent 3c22c2a4d4
commit 43711734f0
2 changed files with 33 additions and 8 deletions

23
02_metabase.sql Normal file
View File

@@ -0,0 +1,23 @@
create role metabase_user with
login
nosuperuser
nocreatedb
nocreaterole
noinherit
noreplication
connection limit -1
password 'supermotdepasse';
create database metabase
with owner metabase_user;
grant connect on database metabase to metabase_user;
grant usage
on schema public
to metabase_user;
grant select on all tables
in schema public
to metabase_user;