Add closed_at to procedures table

This commit is contained in:
Paul Chavard 2019-11-14 09:59:16 +01:00
parent 7b947feae4
commit b29b6176c9
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class AddClosedAtToProcedures < ActiveRecord::Migration[5.2]
def change
add_column :procedures, :closed_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: 2019_11_13_142816) do
ActiveRecord::Schema.define(version: 2019_11_27_084643) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -488,6 +488,7 @@ ActiveRecord::Schema.define(version: 2019_11_13_142816) do
t.boolean "csv_export_queued"
t.boolean "xlsx_export_queued"
t.boolean "ods_export_queued"
t.datetime "closed_at"
t.index ["declarative_with_state"], name: "index_procedures_on_declarative_with_state"
t.index ["hidden_at"], name: "index_procedures_on_hidden_at"
t.index ["parent_procedure_id"], name: "index_procedures_on_parent_procedure_id"