From 578cbcda37af68d79792488f6f4054097346046c Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Mon, 19 Mar 2018 16:50:08 +0100 Subject: [PATCH] Remove the mandataire_social column --- .../20180319154850_remove_mandataire_social_on_dossier.rb | 5 +++++ db/schema.rb | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 db/migrate/20180319154850_remove_mandataire_social_on_dossier.rb diff --git a/db/migrate/20180319154850_remove_mandataire_social_on_dossier.rb b/db/migrate/20180319154850_remove_mandataire_social_on_dossier.rb new file mode 100644 index 000000000..3d427c7b4 --- /dev/null +++ b/db/migrate/20180319154850_remove_mandataire_social_on_dossier.rb @@ -0,0 +1,5 @@ +class RemoveMandataireSocialOnDossier < ActiveRecord::Migration[5.2] + def change + remove_column :dossiers, :mandataire_social + end +end diff --git a/db/schema.rb b/db/schema.rb index 442360b51..daec865cc 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2018_03_08_110811) do +ActiveRecord::Schema.define(version: 2018_03_19_154850) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -214,7 +214,6 @@ ActiveRecord::Schema.define(version: 2018_03_08_110811) do t.integer "user_id" t.text "json_latlngs" t.boolean "archived", default: false - t.boolean "mandataire_social", default: false t.datetime "en_construction_at" t.datetime "en_instruction_at" t.datetime "processed_at"