[Ref #145] Add the AddArchivedAtToProcedures

This commit is contained in:
gregoirenovel 2017-06-27 16:49:52 +02:00
parent cf573a1ec6
commit 698bffd156
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class AddArchivedAtToProcedure < ActiveRecord::Migration[5.0]
def change
add_column :procedures, :archived_at, :datetime
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: 20170627091953) do
ActiveRecord::Schema.define(version: 20170627143701) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -383,6 +383,7 @@ ActiveRecord::Schema.define(version: 20170627091953) do
t.boolean "individual_with_siret", default: false
t.datetime "auto_archive_on"
t.datetime "published_at"
t.datetime "archived_at"
end
create_table "quartier_prioritaires", force: :cascade do |t|