[#3589] Technique - suppression du code lié à la STI sur TypeDeChamp

This commit is contained in:
Frederic Merizen 2019-03-11 19:33:33 +01:00 committed by GitHub
commit 42e8fe1e5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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',