Revert "Procedure: set archive_date to datetime to allow localtime"

This reverts commit 14dd75d0d2.
This commit is contained in:
Simon Lehericey 2017-05-24 11:56:31 +02:00 committed by Mathieu Magnin
parent 31eab83f7a
commit e0c253eee1
2 changed files with 1 additions and 10 deletions

View file

@ -1,9 +0,0 @@
class ChangeProcedureAutoArchiveDateToDatetime < ActiveRecord::Migration[5.0]
def up
change_column :procedures, :auto_archive_on, :datetime
end
def down
change_column :procedures, :auto_archive_on, :date
end
end

View file

@ -358,7 +358,7 @@ ActiveRecord::Schema.define(version: 20170523092900) do
t.string "lien_notice" t.string "lien_notice"
t.boolean "for_individual", default: false t.boolean "for_individual", default: false
t.boolean "individual_with_siret", default: false t.boolean "individual_with_siret", default: false
t.datetime "auto_archive_on" t.date "auto_archive_on"
end end
create_table "quartier_prioritaires", force: :cascade do |t| create_table "quartier_prioritaires", force: :cascade do |t|