Add the AddPublishedAtToProcedure migration
This commit is contained in:
parent
99ee68451a
commit
1b808d9abe
2 changed files with 9 additions and 2 deletions
|
@ -0,0 +1,5 @@
|
||||||
|
class AddPublishedAtToProcedure < ActiveRecord::Migration[5.0]
|
||||||
|
def change
|
||||||
|
add_column :procedures, :published_at, :datetime
|
||||||
|
end
|
||||||
|
end
|
|
@ -10,7 +10,7 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# 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
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
|
@ -381,7 +381,8 @@ ActiveRecord::Schema.define(version: 20170601123221) 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.date "auto_archive_on"
|
t.datetime "auto_archive_on"
|
||||||
|
t.datetime "published_at"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "quartier_prioritaires", force: :cascade do |t|
|
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 individuals ON ((individuals.dossier_id = dossiers.id)))
|
||||||
LEFT JOIN pieces_justificatives ON ((pieces_justificatives.dossier_id = dossiers.id)));
|
LEFT JOIN pieces_justificatives ON ((pieces_justificatives.dossier_id = dossiers.id)));
|
||||||
SQL
|
SQL
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue