1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00
Files
wrestlingdev.com/db/migrate/20140124174110_create_matches.rb
2015-05-14 20:03:06 -04:00

16 lines
301 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 null: true
end
end
end