mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-05 06:07:20 +00:00
Added matches scaffold and ascended views of weights and schools
This commit is contained in:
15
db/migrate/20140124174110_create_matches.rb
Normal file
15
db/migrate/20140124174110_create_matches.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
class CreateMatches < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :matches do |t|
|
||||
t.integer :r_id
|
||||
t.integer :g_id
|
||||
t.text :g_stat
|
||||
t.text :r_stat
|
||||
t.integer :winner_id
|
||||
t.string :win_type
|
||||
t.string :score
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user