1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Trying to fix migrations

This commit is contained in:
2015-06-30 18:08:30 +00:00
parent a77066840e
commit 5aecfe344b
2 changed files with 2 additions and 6 deletions

View File

@@ -2,5 +2,7 @@ class AddOfficalWeightWrestlers < ActiveRecord::Migration
def change
add_column :tournaments, :weigh_in_ref, :text
add_column :wrestlers, :offical_weight, :decimal
add_index :tournaments, :weigh_in_ref
add_index :wrestlers, :offical_weight
end
end

View File

@@ -1,6 +0,0 @@
class AddIndexForWeighIns < ActiveRecord::Migration
def change
add_index :tournaments, :weigh_in_ref
add_index :wrestlers, :offical_weight
end
end