From 84474e353a3ed393a11f787523be0e22790b95b7 Mon Sep 17 00:00:00 2001 From: Dylan Jones Date: Mon, 13 May 2024 20:17:10 +0100 Subject: [PATCH] Update schema to latest --- db/schema.rb | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/db/schema.rb b/db/schema.rb index b2c209c..73f4d99 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.0].define(version: 2022_05_18_205818) do +ActiveRecord::Schema[7.0].define(version: 2023_10_31_130837) do create_table "accounts", id: :integer, charset: "utf8mb3", force: :cascade do |t| t.string "number" t.string "name" @@ -191,6 +191,27 @@ t.datetime "updated_at", precision: nil end + create_table "duo_leaderboards", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t| + t.string "name" + t.string "url" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + t.index ["url"], name: "index_duo_leaderboards_on_url", unique: true + end + + create_table "duo_leaderboards_participants", id: false, charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t| + t.bigint "duo_participant_id", null: false + t.bigint "duo_leaderboard_id", null: false + t.index ["duo_participant_id", "duo_leaderboard_id"], name: "index_duo" + end + + create_table "duo_participants", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t| + t.string "name" + t.string "photo" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + create_table "episodes", id: :integer, charset: "utf8mb3", force: :cascade do |t| t.string "pid", null: false t.string "title", null: false