mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-09 15:42:09 +00:00
Created Pool 1 of 10 Man Bracket
This commit is contained in:
5
db/migrate/20140124015315_drop_school_score.rb
Normal file
5
db/migrate/20140124015315_drop_school_score.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class DropSchoolScore < ActiveRecord::Migration
|
||||
def change
|
||||
remove_column :schools, :score
|
||||
end
|
||||
end
|
||||
5
db/migrate/20140124021031_add_school_score.rb
Normal file
5
db/migrate/20140124021031_add_school_score.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddSchoolScore < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :schools, :score, :integer
|
||||
end
|
||||
end
|
||||
@@ -11,14 +11,14 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20140123035131) do
|
||||
ActiveRecord::Schema.define(version: 20140124021031) do
|
||||
|
||||
create_table "schools", force: true do |t|
|
||||
t.string "name"
|
||||
t.integer "score"
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.integer "tournament_id"
|
||||
t.integer "score"
|
||||
end
|
||||
|
||||
create_table "tournaments", force: true do |t|
|
||||
|
||||
Reference in New Issue
Block a user