2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-11-22 16:25:10 +01:00
|
|
|
class CleanDureeConservation < ActiveRecord::Migration[6.1]
|
|
|
|
def change
|
|
|
|
# We ignore strong_migrations safety warnings, because these table is relatively small
|
|
|
|
safety_assured do
|
|
|
|
change_column_null :procedures, :duree_conservation_etendue_par_ds, false
|
|
|
|
change_column_null :procedures, :max_duree_conservation_dossiers_dans_ds, false
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|