diff --git a/app/views/admin/result/_voting.html.erb b/app/views/admin/result/_voting.html.erb index 3c89df9..42316c5 100644 --- a/app/views/admin/result/_voting.html.erb +++ b/app/views/admin/result/_voting.html.erb @@ -3,12 +3,21 @@ <% if current_user.acts_as_reviewer? %>
<% end %> diff --git a/db/migrate/20161204213828_remove_vote_locking.rb b/db/migrate/20161204213828_remove_vote_locking.rb new file mode 100644 index 0000000..b842e74 --- /dev/null +++ b/db/migrate/20161204213828_remove_vote_locking.rb @@ -0,0 +1,6 @@ +# frozen_string_literal: true +class RemoveVoteLocking < ActiveRecord::Migration[5.0] + def change + remove_column :reviewer_votes, :locked, :boolean, default: false, null: false + end +end diff --git a/db/schema.rb b/db/schema.rb index 2126b30..912be6d 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -80,7 +80,6 @@ ActiveRecord::Schema.define(version: 20161120175737) do t.integer "vote", default: 0, null: false t.integer "veto", default: 0, null: false t.datetime "last_reminded" - t.boolean "locked", default: false, null: false t.datetime "created_at", null: false t.datetime "updated_at", null: false t.index ["candidate_id", "user_id"], name: "index_reviewer_votes_on_candidate_id_and_user_id", unique: true, using: :btree