update shift_sale migration file and secret yml

This commit is contained in:
Aung Myo
2018-04-19 10:32:59 +06:30
parent 4837d27964
commit e468bc65af
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ test:
# instead read values from the environment.
production:
secret_key_base: c4bc81065013f9a3506d385bcbd49586c42e586488144b0de90c7da36867de9fa880f46b5c4f86f0ce9b7c783bb5a73bdb0e5605a47716567294390e726d3e22
sx_provision_url: connect.smartsales.asia/api #192.168.1.147:3002/api
sx_provision_url: https://connect.pos-myanmar.com/api #192.168.1.147:3002/api
server_mode: application
cipher_type: AES-256-CBC
sx_key: Wh@t1$C2L

View File

@@ -21,7 +21,7 @@ class CreateShiftSales < ActiveRecord::Migration[5.1]
t.integer :dining_count, :default => 0
t.integer :takeaway_count, :default => 0
t.integer :member_count, :default => 0
t.decimal :total_rounding,, :precision => 10, :scale => 2, :null => false, :default => 0.00
t.decimal :total_rounding, :precision => 10, :scale => 2, :null => false, :default => 0.00
t.integer :total_receipt, :default => 0
t.decimal :total_void, :default => 0
t.timestamps