Add deposit date time on dossier table

This commit is contained in:
Xavier J 2016-08-08 14:12:16 +02:00
parent d6b9ebde9a
commit 9487d47ef8
5 changed files with 24 additions and 7 deletions

View file

@ -0,0 +1,5 @@
class AddDepositAttrInDossierTable < ActiveRecord::Migration
def change
add_column :dossiers, :deposit_datetime, :datetime
end
end

View file

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20160804130638) do
ActiveRecord::Schema.define(version: 20160808115924) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -124,6 +124,7 @@ ActiveRecord::Schema.define(version: 20160804130638) do
t.text "json_latlngs"
t.boolean "archived", default: false
t.boolean "mandataire_social", default: false
t.datetime "deposit_datetime"
end
add_index "dossiers", ["procedure_id"], name: "index_dossiers_on_procedure_id", using: :btree