ajout de la procédure à la création d'un dossier

This commit is contained in:
Xavier J 2015-09-22 11:24:03 +02:00
parent 632c19bc48
commit 94cfa8a139
3 changed files with 27 additions and 44 deletions

View file

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20150922082416) do
ActiveRecord::Schema.define(version: 20150922085811) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -34,19 +34,21 @@ ActiveRecord::Schema.define(version: 20150922082416) do
add_index "commentaires", ["dossier_id"], name: "index_commentaires_on_dossier_id", using: :btree
create_table "dossiers", force: :cascade do |t|
t.string "description"
t.boolean "autorisation_donnees"
t.string "position_lat"
t.string "position_lon"
t.string "ref_dossier"
t.string "nom_projet"
t.string "montant_projet"
t.string "montant_aide_demande"
t.string "lien_plus_infos"
t.string "mail_contact"
t.boolean "dossier_termine"
t.integer "procedure_id"
t.date "date_previsionnelle"
t.string "description"
t.boolean "autorisation_donnees"
t.string "position_lat"
t.string "position_lon"
t.string "ref_dossier"
t.string "nom_projet"
t.string "montant_projet"
t.string "montant_aide_demande"
t.string "lien_plus_infos"
t.string "mail_contact"
t.boolean "dossier_termine"
t.integer "procedure_id"
t.date "date_previsionnelle"
t.datetime "created_at"
t.datetime "updated_at"
end
add_index "dossiers", ["procedure_id"], name: "index_dossiers_on_procedure_id", using: :btree
@ -108,7 +110,7 @@ ActiveRecord::Schema.define(version: 20150922082416) do
t.integer "type_de_piece_justificative_id"
end
add_index "pieces_justificatives", ["type_de_piece_justificative_id"], name: "index_pieces_justificatives_on_type_de_piece_justificative_id", using: :btree
add_index "pieces_justificatives", ["type_de_piece_justificative_id"], name: "index_pieces_justificatives_on_type_piece_jointe_id", using: :btree
create_table "procedures", force: :cascade do |t|
t.string "libelle"