sql.globals.V9__create_key_tenant_table.sql Maven / Gradle / Ivy
CREATE TABLE key_tenant (
client_id TEXT,
tenant TEXT REFERENCES tenants(name) ON DELETE CASCADE ON UPDATE CASCADE,
PRIMARY KEY (client_id, tenant)
)
CREATE TABLE key_tenant (
client_id TEXT,
tenant TEXT REFERENCES tenants(name) ON DELETE CASCADE ON UPDATE CASCADE,
PRIMARY KEY (client_id, tenant)
)