1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-01 20:25:26 +00:00

Persisting matchups

This commit is contained in:
2015-03-25 00:15:27 +00:00
parent 5fe8c394a2
commit a6f78a6dc6
3 changed files with 23 additions and 7 deletions

View File

@@ -0,0 +1,5 @@
class AddMatchupsToTournament < ActiveRecord::Migration
def change
add_column :tournaments, :matchups, :text
end
end

View File

@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20150317122709) do
ActiveRecord::Schema.define(version: 20150324233726) do
create_table "matches", force: :cascade do |t|
t.integer "r_id"
@@ -51,6 +51,7 @@ ActiveRecord::Schema.define(version: 20150317122709) do
t.string "director_email"
t.datetime "created_at"
t.datetime "updated_at"
t.text "matchups"
end
create_table "users", force: :cascade do |t|