Files
sx-fc/app/controllers/reports
Thein Lin Kyaw 937f40e7c1 Single database for multiple shops
Use ActsAsTenant as Multi-tenancy for shops

See below files:
- app/controllers/concern/multi_tenancy.rb
- app/models/application_record.rb
- app/models/shop.rb

An initializer can be created to control option in ActsAsTenant.
config/initializers/acts_as_tenant.rb
require 'acts_as_tenant/sidekiq'
ActsAsTenant.configure do |config|
  config.require_tenant = false # true
end

more details: https://github.com/ErwinM/acts_as_tenant
2019-12-02 17:19:28 +06:30
..
2019-06-26 11:42:51 +06:30
2019-09-02 16:22:09 +06:30
2019-11-18 09:57:55 +06:30
2019-09-11 13:26:01 +06:30