Rails 5.x , postgres , apartment gem
only below two tables created when Apartment::Tenant.create('microsoft') other 20 tables are not created, still in public schemas. microsoft schema created but not tables
Here is my apartment.rb
config.excluded_models = %w{ Account }
and tenant names
config.tenant_names = lambda { Account.pluck :domain }
use schemas
config.use_schemas = true
when I do rake db:migrate it is not creating anything on schema.rb whereas I created a new app with apartment. its generating another set of migration inside schema.rb.
eg: create_table "companies", force: :cascade do |t|
