lib/earth/pet/breed_gender.rb in earth-0.5.4 vs lib/earth/pet/breed_gender.rb in earth-0.6.0

- old
+ new

@@ -2,13 +2,11 @@ set_primary_key :name belongs_to :breed, :foreign_key => 'breed_name' belongs_to :gender, :foreign_key => 'gender_name' - force_schema do - string 'name' - string 'breed_name' - string 'gender_name' - float 'weight' - string 'weight_units' - end -end + col :name + col :breed_name + col :gender_name + col :weight, :type => :float + col :weight_units +end \ No newline at end of file