remove default value as it can cause lock and does not add value
This commit is contained in:
parent
60cd9a5d0e
commit
28ab19e4f7
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
class AddMigratedChampRoutageToDossiers < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :dossiers, :migrated_champ_routage, :boolean, default: false, null: false
|
||||
add_column :procedures, :migrated_champ_routage, :boolean, default: false, null: false
|
||||
add_column :procedure_revisions, :migrated_champ_routage, :boolean, default: false, null: false
|
||||
add_column :dossiers, :migrated_champ_routage, :boolean
|
||||
add_column :procedures, :migrated_champ_routage, :boolean
|
||||
add_column :procedure_revisions, :migrated_champ_routage, :boolean
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue