summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-02-21 22:27:13 -0700
committermo khan <mo@mokhan.ca>2014-02-21 22:27:13 -0700
commit60aa8fa77deaf9d4c90c1ede37caeeff13ee283d (patch)
tree2e2783442eb09d58e4257bf4f256ecc4ce25aa6b /db/migrate
parent476bee1ff1e1c0d4fe553898f5f029530a41919c (diff)
define well types table.
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20140222051253_create_well_types.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/20140222051253_create_well_types.rb b/db/migrate/20140222051253_create_well_types.rb
new file mode 100644
index 0000000..aa22bca
--- /dev/null
+++ b/db/migrate/20140222051253_create_well_types.rb
@@ -0,0 +1,8 @@
+class CreateWellTypes < ActiveRecord::Migration
+ def change
+ create_table :well_types do |t|
+ t.string :name
+ t.string :acronym
+ end
+ end
+end