Merge branch 'develop' into develop_v2

# Conflicts:
#	Gemfile.lock
#	db/schema.rb
This commit is contained in:
Xavier J 2016-11-17 16:55:41 +01:00
commit 647eaa4ba8
34 changed files with 509 additions and 122 deletions

View file

@ -0,0 +1,7 @@
class AddChampIdToCommentaires < ActiveRecord::Migration
def change
change_table :commentaires do |t|
t.references :champ, null: true, index: true
end
end
end

View file

@ -111,6 +111,8 @@ ActiveRecord::Schema.define(version: 20161115053251) do
t.integer "dossier_id"
t.datetime "updated_at", null: false
t.integer "piece_justificative_id"
t.integer "champ_id"
t.index ["champ_id"], name: "index_commentaires_on_champ_id", using: :btree
t.index ["dossier_id"], name: "index_commentaires_on_dossier_id", using: :btree
end