Remove all references to old STI
This commit is contained in:
parent
7f76cc4684
commit
5faf4cdd84
5 changed files with 13 additions and 17 deletions
6
db/migrate/20180308110811_add_defaults_to_champs.rb
Normal file
6
db/migrate/20180308110811_add_defaults_to_champs.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue