mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-10 23:53:06 +00:00
Trying to fix migrations
This commit is contained in:
@@ -2,5 +2,7 @@ class AddOfficalWeightWrestlers < ActiveRecord::Migration
|
|||||||
def change
|
def change
|
||||||
add_column :tournaments, :weigh_in_ref, :text
|
add_column :tournaments, :weigh_in_ref, :text
|
||||||
add_column :wrestlers, :offical_weight, :decimal
|
add_column :wrestlers, :offical_weight, :decimal
|
||||||
|
add_index :tournaments, :weigh_in_ref
|
||||||
|
add_index :wrestlers, :offical_weight
|
||||||
end
|
end
|
||||||
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