I am working on a multi tenant environment with shared database and separated schema for every tenant.
My tenant table is as follows:
id|tenant_id|tena