Remove all references to old STI

This commit is contained in:
Paul Chavard 2018-02-14 11:46:38 +01:00
parent 7f76cc4684
commit 5faf4cdd84
5 changed files with 13 additions and 17 deletions

View file

@ -0,0 +1,6 @@
class AddDefaultsToChamps < ActiveRecord::Migration[5.2]
def change
change_column :champs, :private, :boolean, default: false, null: false
change_column :types_de_champ, :private, :boolean, default: false, null: false
end
end