6 Commits

Author SHA1 Message Date
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
Aung Myo
557b15a7ee update shop 2018-10-09 18:04:31 +06:30
Aung Myo
87502ec0f2 update inventory and shop and seed 2018-10-09 16:12:52 +06:30
San Wai Lwin
bcf66d6c30 Edit with the photo without shop_code 2018-05-11 16:28:40 +06:30
San Wai Lwin
f52537b509 Edit Photo name in commissioner,customers,employee,menu,product and shop 2018-05-10 15:08:57 +06:30
San Wai Lwin
9ec8c4d18c Photo Field in Customer,Employee and Commissionor 2018-03-07 17:50:23 +06:30