mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Moved match generation to a class and added tournament_type to tournaments.
This commit is contained in:
5
db/migrate/20150427163325_add_type_to_tournament.rb
Normal file
5
db/migrate/20150427163325_add_type_to_tournament.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddTypeToTournament < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :tournaments, :type, :text
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,4 @@
|
||||
class RenameTypeToTournamentType < ActiveRecord::Migration
|
||||
def change
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class RenameTypeToTournamentTypeForReal < ActiveRecord::Migration
|
||||
def change
|
||||
rename_column :tournaments, :type, :tournament_type
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user