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:
@@ -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
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
class AddIndexForWeighIns < ActiveRecord::Migration
|
||||
def change
|
||||
add_index :tournaments, :weigh_in_ref
|
||||
add_index :wrestlers, :offical_weight
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user