Procedure has an auto_archive date
This commit is contained in:
parent
18b3368a29
commit
359807b4f7
5 changed files with 21 additions and 11 deletions
|
@ -0,0 +1,5 @@
|
|||
class AddAutoArchiveToProcedure < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
add_column :procedures, :auto_archive_on, :date
|
||||
end
|
||||
end
|
|
@ -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|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue