fix(schema): execute must explicitly ensure safety
This commit is contained in:
parent
12c174f6cf
commit
96489e5802
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
class AddDossierFolderColumnToExportTemplate < ActiveRecord::Migration[7.0]
|
||||
def up
|
||||
execute "DELETE FROM export_templates;"
|
||||
safety_assured { execute "DELETE FROM export_templates;" }
|
||||
|
||||
add_column :export_templates, :dossier_folder, :jsonb, default: nil, null: false
|
||||
add_column :export_templates, :export_pdf, :jsonb, default: nil, null: false
|
||||
|
|
Loading…
Reference in a new issue