Permalink
Browse files

deleted migrations

  • Loading branch information...
1 parent 7868c7e commit 80af9791027ed2f10116d39dca7a52c6d0115f13 @dladowitz dladowitz committed Oct 8, 2012
@@ -1,25 +0,0 @@
-class RemoveTotalFemaleHeightFromPopulationState < ActiveRecord::Migration
- def up
- remove_column :population_states, :total_female_height
- remove_column :population_states, :total_male_height
- remove_column :population_states, :total_female_weight
- remove_column :population_states, :total_male_weight
- remove_column :population_states, :total_females
- remove_column :population_states, :total_males
- remove_column :population_states, :variance_height
- remove_column :population_states, :variance_weight
-
- end
-
- def down
- add_column :population_states, :total_female_height, :integer
- add_column :population_states, :total_male_height, :integer
- add_column :population_states, :total_female_weight, :integer
- add_column :population_states, :total_male_weight, :integer
- add_column :population_states, :total_females, :integer
- add_column :population_states, :total_males, :integer
- add_column :population_states, :variance_height, :float
- add_column :population_states, :variance_weight, :float
-
- end
-end
@@ -1,10 +0,0 @@
-class AddTotalFemalesToPopulationState < ActiveRecord::Migration
- def change
- add_column :population_states, :total_females, :integer, :default => 0
- add_column :population_states, :total_males, :integer, :default => 0
- add_column :population_states, :total_female_height, :integer, :default => 0
- add_column :population_states, :total_male_height, :integer, :default => 0
- add_column :population_states, :total_female_weight, :integer, :default => 0
- add_column :population_states, :total_male_weight, :integer, :default => 0
- end
-end
@@ -1,8 +0,0 @@
-class DropTable < ActiveRecord::Migration
- def up
- drop_table :population_states
- end
-
- def down
- end
-end

0 comments on commit 80af979

Please sign in to comment.