mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-02 21:24:25 +00:00
Renamed boutNumber to bout_number to make the field consistent with the rest of the domain and database schema.
This commit is contained in:
5
db/migrate/201505170715923_rename_bout_number.rb
Normal file
5
db/migrate/201505170715923_rename_bout_number.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class RenameBoutNumber < ActiveRecord::Migration
|
||||
def change
|
||||
rename_column :matches, :boutNumber, :bout_number
|
||||
end
|
||||
end
|
||||
@@ -26,7 +26,7 @@ ActiveRecord::Schema.define(version: 20150427163818) do
|
||||
t.integer "tournament_id"
|
||||
t.integer "round"
|
||||
t.integer "finished"
|
||||
t.integer "boutNumber"
|
||||
t.integer "bout_number"
|
||||
t.integer "weight_id"
|
||||
t.string "bracket_position"
|
||||
t.integer "bracket_position_number"
|
||||
|
||||
Reference in New Issue
Block a user