mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Removed score from school table and added attr_accessor
This commit is contained in:
5
db/migrate/20150328183257_drop_school_score_again.rb
Normal file
5
db/migrate/20150328183257_drop_school_score_again.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class DropSchoolScoreAgain < ActiveRecord::Migration
|
||||
def change
|
||||
remove_column :schools, :score
|
||||
end
|
||||
end
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20150325004527) do
|
||||
ActiveRecord::Schema.define(version: 20150328183257) do
|
||||
|
||||
create_table "matches", force: :cascade do |t|
|
||||
t.integer "r_id"
|
||||
@@ -41,7 +41,6 @@ ActiveRecord::Schema.define(version: 20150325004527) do
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.integer "tournament_id"
|
||||
t.integer "score"
|
||||
end
|
||||
|
||||
create_table "tournaments", force: :cascade do |t|
|
||||
|
||||
Reference in New Issue
Block a user