Merge pull request #1190 from sgmap/remove_mail_templates_table
Drop MAIL_TEMPLATES table
This commit is contained in:
commit
4c0d8042d3
2 changed files with 6 additions and 10 deletions
5
db/migrate/20180108144114_drop_mail_templates_table.rb
Normal file
5
db/migrate/20180108144114_drop_mail_templates_table.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class DropMailTemplatesTable < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
drop_table :mail_templates
|
||||
end
|
||||
end
|
11
db/schema.rb
11
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
|
||||
|
|
Loading…
Reference in a new issue