[Fix #197] Add the motivation column to Dossiers
This commit is contained in:
parent
33944e343a
commit
12740b4a3e
2 changed files with 7 additions and 1 deletions
5
db/migrate/20170530141608_add_motivation_to_dossier.rb
Normal file
5
db/migrate/20170530141608_add_motivation_to_dossier.rb
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
class AddMotivationToDossier < ActiveRecord::Migration[5.0]
|
||||||
|
def change
|
||||||
|
add_column :dossiers, :motivation, :text
|
||||||
|
end
|
||||||
|
end
|
|
@ -10,7 +10,7 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 20170523092900) do
|
ActiveRecord::Schema.define(version: 20170530141608) do
|
||||||
# These are extensions that must be enabled in order to support this database
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
|
|
||||||
|
@ -151,6 +151,7 @@ ActiveRecord::Schema.define(version: 20170523092900) do
|
||||||
t.datetime "initiated_at"
|
t.datetime "initiated_at"
|
||||||
t.datetime "received_at"
|
t.datetime "received_at"
|
||||||
t.datetime "processed_at"
|
t.datetime "processed_at"
|
||||||
|
t.text "motivation"
|
||||||
t.index ["procedure_id"], name: "index_dossiers_on_procedure_id", using: :btree
|
t.index ["procedure_id"], name: "index_dossiers_on_procedure_id", using: :btree
|
||||||
t.index ["user_id"], name: "index_dossiers_on_user_id", using: :btree
|
t.index ["user_id"], name: "index_dossiers_on_user_id", using: :btree
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue