I have a table called acl with the following db schema in postgres v14
CREATE TABLE acl(
_id VARCHAR PRIMARY KEY REFERENCES raw_acl(_id)
}
The column _id is both the primary key (for the table acl) as well as a foreign key reference to another table (raw_acl)
It is possible to transfer this information to metabase metadata?
The UI currently gives option to mark the column either as enitity key or foreign key but not both. Even when i try creating a model, I am hit with the same limitation
This is my diagnostic info
{
"browser-info": {
"language": "en-US",
"platform": "MacIntel",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.20.1+1",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.20.1",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.20.1+1",
"os.name": "Linux",
"os.version": "5.19.0-1025-aws",
"user.language": "en",
"user.timezone": "Asia/Kolkata"
},
"metabase-info": {
"databases": [
"postgres"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "14.9 (Ubuntu 14.9-0ubuntu0.22.04.1)"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.5.4"
}
},
"run-mode": "prod",
"version": {
"date": "2023-10-11",
"tag": "v0.47.4",
"branch": "?",
"hash": "c96dc65"
},
"settings": {
"report-timezone": "Asia/Kolkata"
}
}
}