From 60aa8fa77deaf9d4c90c1ede37caeeff13ee283d Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 21 Feb 2014 22:27:13 -0700 Subject: define well types table. --- db/seeds.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'db/seeds.rb') diff --git a/db/seeds.rb b/db/seeds.rb index 4edb1e8..b9d9ff1 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,7 +1,7 @@ # This file should contain all the record creation needed to seed the database with its default values. # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). -# -# Examples: -# -# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) -# Mayor.create(name: 'Emanuel', city: cities.first) +WellType.create(id: 1, acronym: "NFW", name: "New Field Wildcat") unless WellType.exists?(1) +WellType.create(id: 2, acronym: "NPW", name: "New Pool Wildcat") unless WellType.exists?(2) +WellType.create(id: 3, acronym: "DPT", name: "Deeper Pool Test") unless WellType.exists?(3) +WellType.create(id: 4, acronym: "SPT", name: "Shallower Pool Test") unless WellType.exists?(4) +WellType.create(id: 5, acronym: "DEV", name: "Development Well") unless WellType.exists?(5) -- cgit v1.2.3