add cashier zone in ui

This commit is contained in:
Yan
2017-10-23 10:53:22 +06:30
parent 649f50bd5e
commit 95ef534b04
7 changed files with 10 additions and 8 deletions

View File

@@ -1,8 +1,8 @@
class CreateCashierTerminalByZones < ActiveRecord::Migration[5.1]
def change
create_table :cashier_terminal_by_zones do |t|
t.integer :cashier_terminal_id
t.integer :zone_id
t.references :cashier_terminal, :null => false
t.references :zone, :null => false
t.timestamps
end