From 758ea612c64d5507730850981e4d4b9e68492d55 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Thu, 13 Jul 2017 10:50:17 +0200 Subject: [PATCH] [Fix #144] Remove published from Procedure --- .../20170711125429_remove_published_from_procedures.rb | 5 +++++ db/schema.rb | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 db/migrate/20170711125429_remove_published_from_procedures.rb diff --git a/db/migrate/20170711125429_remove_published_from_procedures.rb b/db/migrate/20170711125429_remove_published_from_procedures.rb new file mode 100644 index 000000000..7312fd8dc --- /dev/null +++ b/db/migrate/20170711125429_remove_published_from_procedures.rb @@ -0,0 +1,5 @@ +class RemovePublishedFromProcedures < ActiveRecord::Migration[5.0] + def change + remove_column :procedures, :published + end +end diff --git a/db/schema.rb b/db/schema.rb index 2b3bbab8c..82c722d26 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: 20170627144046) do +ActiveRecord::Schema.define(version: 20170711125429) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -378,7 +378,6 @@ ActiveRecord::Schema.define(version: 20170627144046) do t.string "logo" t.boolean "cerfa_flag", default: false t.string "logo_secure_token" - t.boolean "published", default: false, null: false t.string "lien_site_web" t.string "lien_notice" t.boolean "for_individual", default: false