mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Added overtime_type to matches
This commit is contained in:
5
db/migrate/20220912171922_add_overtime_to_match.rb
Normal file
5
db/migrate/20220912171922_add_overtime_to_match.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddOvertimeToMatch < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :matches, :overtime_type, :string
|
||||
end
|
||||
end
|
||||
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2022_02_23_185853) do
|
||||
ActiveRecord::Schema.define(version: 2022_09_12_171922) do
|
||||
|
||||
create_table "delayed_jobs", force: :cascade do |t|
|
||||
t.integer "priority", default: 0, null: false
|
||||
@@ -49,6 +49,7 @@ ActiveRecord::Schema.define(version: 2022_02_23_185853) do
|
||||
t.string "loser1_name"
|
||||
t.string "loser2_name"
|
||||
t.integer "mat_id"
|
||||
t.string "overtime_type"
|
||||
t.index ["mat_id"], name: "index_matches_on_mat_id"
|
||||
t.index ["tournament_id"], name: "index_matches_on_tournament_id"
|
||||
t.index ["w1", "w2"], name: "index_matches_on_w1_and_w2"
|
||||
|
||||
Reference in New Issue
Block a user