Procedure has an auto_archive date

This commit is contained in:
Mathieu Magnin 2017-03-14 10:45:59 +01:00
parent 18b3368a29
commit 359807b4f7
5 changed files with 21 additions and 11 deletions

View file

@ -0,0 +1,5 @@
class AddAutoArchiveToProcedure < ActiveRecord::Migration[5.0]
def change
add_column :procedures, :auto_archive_on, :date
end
end

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20170307092820) do
ActiveRecord::Schema.define(version: 20170313140834) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -344,6 +344,7 @@ ActiveRecord::Schema.define(version: 20170307092820) do
t.string "lien_notice"
t.boolean "for_individual", default: false
t.boolean "individual_with_siret", default: false
t.date "auto_archive_on"
end
create_table "quartier_prioritaires", force: :cascade do |t|