Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
class ChangeColumnNullConfirmationCategory < ActiveRecord::Migration[7.1]
def change
Category.find_or_create_by(
name: 'Flagged',
description: 'A search which has sensitive information that should be excluded from further processing.'
)

change_column_null :confirmations, :category_id, false, Category.find_by(name: 'Flagged').id
end
end
Loading