clean(Champs::Engagement): migrate to Champs::Checkbox, some for TypeDeChamp

This commit is contained in:
Martin 2022-07-25 10:24:17 +02:00
parent 19eca6b5a1
commit 17ed80b18a
15 changed files with 51 additions and 103 deletions

View file

@ -1,3 +1,4 @@
# TODO: remove after 20220725075951_migrate_champs_engagement_to_checkbox passed
# == Schema Information
#
# Table name: champs

View file

@ -41,7 +41,6 @@ class TypeDeChamp < ApplicationRecord
regions: 'regions',
departements: 'departements',
communes: 'communes',
engagement: 'engagement',
header_section: 'header_section',
explication: 'explication',
dossier_link: 'dossier_link',

View file

@ -1,2 +1,3 @@
# TODO: remove after 20220725075951_migrate_champs_engagement_to_checkbox passed
class TypesDeChamp::EngagementTypeDeChamp < TypesDeChamp::CheckboxTypeDeChamp
end