Hi,
We would like to manage Metabase databases using the API.
We use metabase v0.50.9 (we just switch from v0.48.9) with a Postgresql DB.
So, we add new database using the endpoint : https://www.xxxx.com/api/database/
The status code of the response is 200 but I'm not able to see the new database on the admin panel.
After some search, I found that the flag is_audit
in the metabase DB is null
for the new inserted database.
And in the metabase code, admin panel displays all the database with is_audit
flag to false.
So, my question is : what do I miss in the API to get the is_audit
flag set to false in the metabase DB ?
Thank you
EDIT:
I check the database schema and there is no default value for is_audit
:
create table metabase_database
(
id serial
primary key,
...
settings text,
is_audit boolean,
uploads_enabled boolean default false not null,
...
);