Specialize Invite object
This commit is contained in:
parent
0ac23f6d96
commit
60b94fc41b
8 changed files with 29 additions and 7 deletions
|
@ -0,0 +1,5 @@
|
|||
class AddTypeAttrInInviteTable < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :invites, :type, :string, default: 'InviteGestionnaire'
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20160906134155) do
|
||||
ActiveRecord::Schema.define(version: 20160913093948) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -225,6 +225,7 @@ ActiveRecord::Schema.define(version: 20160906134155) do
|
|||
t.string "email_sender"
|
||||
t.integer "dossier_id"
|
||||
t.integer "user_id"
|
||||
t.string "type", default: "InviteGestionnaire"
|
||||
end
|
||||
|
||||
create_table "mail_templates", force: :cascade do |t|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue