summaryrefslogtreecommitdiff
path: root/db/migrate/20111012113547_create_ouis.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20111012113547_create_ouis.rb')
-rw-r--r--db/migrate/20111012113547_create_ouis.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20111012113547_create_ouis.rb b/db/migrate/20111012113547_create_ouis.rb
new file mode 100644
index 0000000..ad81508
--- /dev/null
+++ b/db/migrate/20111012113547_create_ouis.rb
@@ -0,0 +1,11 @@
+class CreateOuis < ActiveRecord::Migration
+ def change
+ create_table :ouis do |t|
+ t.integer :manufacturer_id
+ t.string :value
+ t.string :state
+
+ t.timestamps
+ end
+ end
+end