We are using Metabase (0.32.1) with Postgres 9.6 (RDS). The application database is also on Postgres 9.6 (RDS).
I would like to get a list of all tables and fields in the data warehouse from Metabase, along with associated constraints like PK, indexes etc. I need this information in order to start writing a data dictionary, and a guide on how to write queries using our Metabase.
I would be happy to get this information from Metabase including the friendly name that Metabase assigns a field that it indexes. Otherwise if someone could show me how to get this from Postgres that would also be great.