Skip to content

Commit

Permalink
Disable code review requests by default
Browse files Browse the repository at this point in the history
  • Loading branch information
nygrenh committed Feb 28, 2024
1 parent b0d6417 commit 9a35090
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class DisableCodeReviewRequestsByDefault < ActiveRecord::Migration[6.1]
def change
change_column_default :courses, :code_review_requests_enabled, from: true, to: false
end
end
4 changes: 2 additions & 2 deletions 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: 2024_02_26_094608) do
ActiveRecord::Schema.define(version: 2024_02_28_101929) do

# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
Expand Down Expand Up @@ -178,7 +178,7 @@
t.boolean "hide_submissions", default: false, null: false
t.boolean "model_solution_visible_before_completion", default: false, null: false
t.float "soft_deadline_point_multiplier", default: 0.75, null: false
t.boolean "code_review_requests_enabled", default: true, null: false
t.boolean "code_review_requests_enabled", default: false, null: false
t.integer "grant_model_solution_token_every_nth_completed_exercise"
t.integer "initial_coin_stash"
t.boolean "large_exercises_consume_more_coins", default: false
Expand Down

0 comments on commit 9a35090

Please sign in to comment.