Now that we don't have the type column anymore, we don't need to neuter it

This commit is contained in:
Frederic Merizen 2019-03-11 15:31:44 +01:00
parent cccaf54e2e
commit d08b478cfd

View file

@ -1,7 +1,4 @@
class TypeDeChamp < ApplicationRecord
# TODO drop next line when `type` column has been dropped from `types_de_champ` table
self.inheritance_column = nil
enum type_champs: {
text: 'text',
textarea: 'textarea',