Administrateur can be param the acknowledgement of delivery mail object and body.
This commit is contained in:
parent
d438e9a329
commit
12ebab66cc
13 changed files with 222 additions and 6 deletions
11
db/migrate/20160830142653_create_mail_templates_table.rb
Normal file
11
db/migrate/20160830142653_create_mail_templates_table.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class CreateMailTemplatesTable < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :mail_templates do |t|
|
||||
t.string :object
|
||||
t.text :body
|
||||
t.string :type
|
||||
end
|
||||
|
||||
add_belongs_to :mail_templates, :procedure
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20160829114646) do
|
||||
ActiveRecord::Schema.define(version: 20160830142653) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -227,6 +227,13 @@ ActiveRecord::Schema.define(version: 20160829114646) do
|
|||
t.integer "user_id"
|
||||
end
|
||||
|
||||
create_table "mail_templates", force: :cascade do |t|
|
||||
t.string "object"
|
||||
t.text "body"
|
||||
t.string "type"
|
||||
t.integer "procedure_id"
|
||||
end
|
||||
|
||||
create_table "module_api_cartos", force: :cascade do |t|
|
||||
t.integer "procedure_id"
|
||||
t.boolean "use_api_carto", default: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue