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

A ton of stuff was done to finalize the app for use

This commit is contained in:
Jacob Cody Wimer
2014-01-25 05:28:42 -05:00
parent 7f8718af35
commit c5a7bc3815
45 changed files with 889 additions and 22 deletions

View File

@@ -0,0 +1,5 @@
class AddTournamentIdToMatches < ActiveRecord::Migration
def change
add_column :matches, :tournament_id, :integer
end
end

View File

@@ -0,0 +1,5 @@
class AddRoundToMatch < ActiveRecord::Migration
def change
add_column :matches, :round, :integer
end
end

View File

@@ -0,0 +1,10 @@
class CreateMats < ActiveRecord::Migration
def change
create_table :mats do |t|
t.string :name
t.integer :tournament_id
t.timestamps
end
end
end

View File

@@ -0,0 +1,5 @@
class AddMatIdToWeights < ActiveRecord::Migration
def change
add_column :weights, :mat_id, :integer
end
end

View File

@@ -0,0 +1,5 @@
class AddFinishedFieldToMatches < ActiveRecord::Migration
def change
add_column :matches, :finished, :integer
end
end