I know by default Apartment will create same tables on both public and tenant database. And most of tables on public database are no use, empty tables. I also know that tenant database are depending on schema.rb
But I wonder if we can have different schema for public and tenant database? For example I have 5 tables: SignUp, Company, User , Task and Matter.
If I want the main database (public) only have SignUP,COmpany and User table, and tenants only have Task and Matter tables, is it possible to do that?
Currently, this isn't possible with the apartment gem. This issue has been brought up a couple of times, see below.
Apartment - Github issue
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With