tax profile and lookup seed data

This commit is contained in:
Min Zeya Phyo
2017-04-04 01:09:17 +06:30
parent 2c1ac3191c
commit 4dc0c762e3
11 changed files with 103 additions and 5 deletions

View File

@@ -3,6 +3,7 @@ class CreateDiningFacilities < ActiveRecord::Migration[5.0]
create_table :dining_facilities do |t|
t.references :zone, foreign_key: true
t.string :name, :null => false
t.string :status, :null => false, :default => "available"
t.string :type, :null => false, :default => "table"
t.integer :seater, :null => false, :default => 2
t.integer :order_by