From 7b344fe29ebf1192b591994c442edd664f0a1134 Mon Sep 17 00:00:00 2001 From: Andrew Cain Date: Fri, 14 Jan 2022 20:11:59 +1100 Subject: [PATCH] fix: correct issues in schema and migration of discussion comments --- db/migrate/20210910074614_switch_to_bigint.rb | 1 - db/schema.rb | 8 -------- 2 files changed, 9 deletions(-) diff --git a/db/migrate/20210910074614_switch_to_bigint.rb b/db/migrate/20210910074614_switch_to_bigint.rb index 2373f85da..ef5e4fe89 100644 --- a/db/migrate/20210910074614_switch_to_bigint.rb +++ b/db/migrate/20210910074614_switch_to_bigint.rb @@ -26,7 +26,6 @@ def change change_column :breaks, :id, :bigint, unique: true, null: false, auto_increment: true change_column :campuses, :id, :bigint, unique: true, null: false, auto_increment: true change_column :comments_read_receipts, :id, :bigint, unique: true, null: false, auto_increment: true - change_column :discussion_comments, :id, :bigint, unique: true, null: false, auto_increment: true change_column :group_memberships, :id, :bigint, unique: true, null: false, auto_increment: true change_column :group_sets, :id, :bigint, unique: true, null: false, auto_increment: true change_column :group_submissions, :id, :bigint, unique: true, null: false, auto_increment: true diff --git a/db/schema.rb b/db/schema.rb index dc777affe..dd49cc6d3 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -55,14 +55,6 @@ t.index ["user_id"], name: "index_comments_read_receipts_on_user_id" end - create_table "discussion_comments", charset: "utf8mb3", collation: "utf8mb3_unicode_ci", force: :cascade do |t| - t.datetime "time_started" - t.datetime "time_completed" - t.integer "number_of_prompts" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false - end - create_table "group_memberships", charset: "utf8mb3", collation: "utf8mb3_unicode_ci", force: :cascade do |t| t.bigint "group_id" t.bigint "project_id"