Files
sx-fc/app/views/origami
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-11-18 10:09:40 +06:30
2019-06-17 17:45:21 +06:30
2019-02-16 16:48:52 +06:30
2018-12-18 17:17:40 +06:30
2018-10-02 11:24:32 +06:30
2019-06-19 17:12:44 +06:30
2019-02-26 10:59:39 +06:30
2019-05-22 13:51:55 +06:30
2018-10-04 16:47:44 +06:30