Merge pull request #1190 from sgmap/remove_mail_templates_table

Drop MAIL_TEMPLATES table
This commit is contained in:
Frederic Merizen 2018-01-09 15:32:46 +01:00 committed by GitHub
commit 4c0d8042d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 10 deletions

View file

@ -0,0 +1,5 @@
class DropMailTemplatesTable < ActiveRecord::Migration[5.0]
def change
drop_table :mail_templates
end
end

View file

@ -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