Added Models App, Installation Batch Installation

This commit is contained in:
Ernest Sankeshwar
2015-11-13 15:03:29 +00:00
parent cffea0c31d
commit 5a81168161
15 changed files with 147 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
class CreateInstallations < ActiveRecord::Migration
def change
create_table :installations do |t|
t.integer :device_id
t.integer :batch_installation_id
t.integer :status
t.timestamps null: false
end
end
end