mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
16 lines
290 B
Ruby
16 lines
290 B
Ruby
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
|