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