From 39a138e48da6fcf030e21575dbe574cfd58bc4c7 Mon Sep 17 00:00:00 2001 From: Frederic Merizen Date: Mon, 8 Jan 2018 15:49:45 +0100 Subject: [PATCH] Drop MAIL_TEMPLATES table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit it’s not used since 695dc16b8 / 335caed65ec44 anymore --- .../20180108144114_drop_mail_templates_table.rb | 5 +++++ db/schema.rb | 11 +---------- 2 files changed, 6 insertions(+), 10 deletions(-) create mode 100644 db/migrate/20180108144114_drop_mail_templates_table.rb diff --git a/db/migrate/20180108144114_drop_mail_templates_table.rb b/db/migrate/20180108144114_drop_mail_templates_table.rb new file mode 100644 index 000000000..2aca24d78 --- /dev/null +++ b/db/migrate/20180108144114_drop_mail_templates_table.rb @@ -0,0 +1,5 @@ +class DropMailTemplatesTable < ActiveRecord::Migration[5.0] + def change + drop_table :mail_templates + end +end diff --git a/db/schema.rb b/db/schema.rb index fdbe707be..2eefdabd4 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: 20180108132507) do +ActiveRecord::Schema.define(version: 20180108144114) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -323,15 +323,6 @@ ActiveRecord::Schema.define(version: 20180108132507) do t.string "type", default: "InviteGestionnaire" end - create_table "mail_templates", force: :cascade do |t| - t.string "object" - t.text "body" - t.string "type" - t.integer "procedure_id" - t.datetime "created_at" - t.datetime "updated_at" - end - create_table "module_api_cartos", force: :cascade do |t| t.integer "procedure_id" t.boolean "use_api_carto", default: false