Skip to content

Commit c064017

Browse files
committed
database migration for boolean columns
1 parent 04ae85a commit c064017

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 AddAllowAiColumnsToExercises < ActiveRecord::Migration[7.2]
4+
def change
5+
add_column :exercises, :allow_ai_comment_for_rfc, :boolean
6+
add_column :exercises, :allow_ai_feedback_on_score, :boolean
7+
end
8+
end

0 commit comments

Comments
 (0)