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
|
Loading…
Add table
Add a link
Reference in a new issue