DEV Community

Giritharan
Giritharan

Posted on

Answer: How do I switch from 1 database to 1 database per subdomain rails

Instead of making seperate database try to do with different schema.

It means create different tenant for each customer in db. In psql by default it supports the multitenancy concept.

When you are planned to use apartment gem that was the best choice for requirement. Because it makes much easier…

Top comments (0)