Skip to content

Commit

Permalink
fix: correct issues in schema and migration of discussion comments
Browse files Browse the repository at this point in the history
  • Loading branch information
macite committed Jan 14, 2022
1 parent 12b17dd commit 7b344fe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion db/migrate/20210910074614_switch_to_bigint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7b344fe

Please sign in to comment.