Author:
Source
I had to convert a self-hosted app into a multi-tenant hosted one and used Postgres Schemas to make it happen. I’ve documented the process and also shared some insights in this post https://vinioyama.com/blog/changing-a-self-hosted-app-to-a-multi-tenant-hosted-app-postgres-schemas-in-ruby-on-rails/