is there any simple way of setting PostreSQL database schema on startup of whole application?
I would use difference database schemas for each tenant.
abc.domain.com → would look inside public schema inside table tenants,
it would find “schema_name” column where domain_url = abc.domain.com,
then it would set database cursor to that schema.
I want to have almost same functionality as this Django package https://github.com/…nant-schemas
Thank you so much, all tips are valuable.