Add the AddPublishedAtToProcedure migration

This commit is contained in:
gregoirenovel 2017-06-27 11:22:44 +02:00
parent 99ee68451a
commit 1b808d9abe
2 changed files with 9 additions and 2 deletions

View file

@ -0,0 +1,5 @@
class AddPublishedAtToProcedure < ActiveRecord::Migration[5.0]
def change
add_column :procedures, :published_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: 20170601123221) do
ActiveRecord::Schema.define(version: 20170627091953) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -381,7 +381,8 @@ ActiveRecord::Schema.define(version: 20170601123221) do
t.string "lien_notice"
t.boolean "for_individual", default: false
t.boolean "individual_with_siret", default: false
t.date "auto_archive_on"
t.datetime "auto_archive_on"
t.datetime "published_at"
end
create_table "quartier_prioritaires", force: :cascade do |t|
@ -500,4 +501,5 @@ ActiveRecord::Schema.define(version: 20170601123221) do
LEFT JOIN individuals ON ((individuals.dossier_id = dossiers.id)))
LEFT JOIN pieces_justificatives ON ((pieces_justificatives.dossier_id = dossiers.id)));
SQL
end