fix(AddColumnClosedToGroupeInstructeurs): add column with change_column_default
This commit is contained in:
parent
19a65d3ba3
commit
4275096349
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
class AddColumnClosedToGroupeInstructeurs < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :groupe_instructeurs, :closed, :boolean, default: false
|
||||
add_column :groupe_instructeurs, :closed, :boolean
|
||||
change_column_default :groupe_instructeurs, :closed, false
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue