Merge pull request #1960 from betagouv/frederic/fix-1946/add-dossier-retention-time
[#1946] Add data retention times to Procedure
This commit is contained in:
commit
4cb9fe05e5
2 changed files with 9 additions and 1 deletions
|
@ -0,0 +1,6 @@
|
|||
class AddRetentionTimesToProcedure < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :procedures, :duree_conservation_dossiers_dans_ds, :integer
|
||||
add_column :procedures, :duree_conservation_dossiers_hors_ds, :integer
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2018_05_16_155238) do
|
||||
ActiveRecord::Schema.define(version: 2018_05_22_142109) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -469,6 +469,8 @@ ActiveRecord::Schema.define(version: 2018_05_16_155238) do
|
|||
t.datetime "test_started_at"
|
||||
t.string "aasm_state", default: "brouillon"
|
||||
t.bigint "service_id"
|
||||
t.integer "duree_conservation_dossiers_dans_ds"
|
||||
t.integer "duree_conservation_dossiers_hors_ds"
|
||||
t.index ["hidden_at"], name: "index_procedures_on_hidden_at"
|
||||
t.index ["parent_procedure_id"], name: "index_procedures_on_parent_procedure_id"
|
||||
t.index ["service_id"], name: "index_procedures_on_service_id"
|
||||
|
|
Loading…
Reference in a new issue