From d08b478cfd04b5fc427cbe5457d36ed8daa67435 Mon Sep 17 00:00:00 2001 From: Frederic Merizen Date: Mon, 11 Mar 2019 15:31:44 +0100 Subject: [PATCH] Now that we don't have the type column anymore, we don't need to neuter it --- app/models/type_de_champ.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/models/type_de_champ.rb b/app/models/type_de_champ.rb index bc0725c05..860883ae0 100644 --- a/app/models/type_de_champ.rb +++ b/app/models/type_de_champ.rb @@ -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',