Skip to content

Commit ee06d2e

Browse files
committed
update the boolean columns
1 parent c064017 commit ee06d2e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# frozen_string_literal: true
2+
3+
class ChangeAllowAiColumnsInExercises < ActiveRecord::Migration[7.2]
4+
def change
5+
change_column :exercises, :allow_ai_comment_for_rfc, :boolean, null: false, default: false
6+
change_column :exercises, :allow_ai_feedback_on_score, :boolean, null: false, default: false
7+
end
8+
end

0 commit comments

Comments
 (0)