Add closed_at to procedures table
This commit is contained in:
parent
7b947feae4
commit
b29b6176c9
2 changed files with 7 additions and 1 deletions
5
db/migrate/20191114084643_add_closed_at_to_procedures.rb
Normal file
5
db/migrate/20191114084643_add_closed_at_to_procedures.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddClosedAtToProcedures < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :procedures, :closed_at, :datetime
|
||||
end
|
||||
end
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue