Commit Graph

6 Commits

Author SHA1 Message Date
Thein Lin Kyaw
f251d4b4e5 update settings shops 2020-01-31 15:15:01 +06:30
Thein Lin Kyaw
10b9af01d1 update application record 2020-01-15 11:56:39 +06:30
Thein Lin Kyaw
d87ffee65b update seed generator and remove hard-coded customer id 2019-12-20 10:35:31 +06:30
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
yamin
1aea52619a UI change 2017-10-23 11:38:10 +06:30
Min Zeya Phyo
3efee9ed8c init project commit 2017-03-24 19:58:23 +06:30