Skip to content

Commit

Permalink
Revert "Created migration to add 'time_spent' to 'user_levels' table"
Browse files Browse the repository at this point in the history
This reverts commit 4cc1667.
  • Loading branch information
daynew committed Aug 4, 2020
1 parent 52a6243 commit 201ae1e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion dashboard/app/models/user_level.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# submitted :boolean
# readonly_answers :boolean
# unlocked_at :datetime
# time_spent :integer
#
# Indexes
#
Expand Down

This file was deleted.

3 changes: 1 addition & 2 deletions dashboard/db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20200730194330) do
ActiveRecord::Schema.define(version: 20200728201407) do

create_table "activities", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci" do |t|
t.integer "user_id"
Expand Down Expand Up @@ -1588,7 +1588,6 @@
t.boolean "submitted"
t.boolean "readonly_answers"
t.datetime "unlocked_at"
t.integer "time_spent"
t.index ["user_id", "level_id", "script_id"], name: "index_user_levels_on_user_id_and_level_id_and_script_id", unique: true, using: :btree
end

Expand Down

0 comments on commit 201ae1e

Please sign in to comment.