fix(migration): ignore strong migration for small nb of procedure
This commit is contained in:
parent
8f76b7188c
commit
46852c7f81
1 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,10 @@
|
|||
class AddTagsToProcedures < ActiveRecord::Migration[6.1]
|
||||
disable_ddl_transaction!
|
||||
def change
|
||||
# we have a small number of procedure so it must go smoothly
|
||||
safety_assured do
|
||||
add_column :procedures, :tags, :text, array: true, default: []
|
||||
add_index :procedures, :tags, using: 'gin', algorithm: :concurrently
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue