add zone test-rspec
This commit is contained in:
@@ -3,6 +3,7 @@ class CreateZones < ActiveRecord::Migration[5.0]
|
||||
create_table :zones do |t|
|
||||
t.string :name, :null => false
|
||||
t.boolean :is_active, :default => true
|
||||
t.string :created_by
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
@@ -8,7 +8,7 @@ class CreateSeatTables < ActiveRecord::Migration[5.0]
|
||||
t.string :table_type, :null => false, :default => "square"
|
||||
t.float :position_x, :null => false, :default => 0.0
|
||||
t.float :position_y, :null => false, :default => 0.0
|
||||
|
||||
t.string :created_by
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user