Files
sx-fc/app/views
Thein Lin Kyaw 1607cb70d3 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 detail: https://github.com/ErwinM/acts_as_tenant
2019-12-02 18:02:39 +06:30
..
-
2019-08-29 18:33:13 +06:30
2019-09-11 13:30:45 +06:30
2017-11-29 17:59:46 +06:30
2019-09-25 11:54:54 +06:30
2017-10-23 11:38:10 +06:30
2019-11-18 09:57:55 +06:30
2019-02-06 16:09:29 +06:30
2019-05-22 13:51:55 +06:30
2019-11-28 14:19:37 +06:30
2018-01-12 15:07:22 +06:30