Add document links to work items

This commit is contained in:
2023-10-08 16:40:16 +01:00
parent f712837f91
commit 3d078f215f
3 changed files with 15 additions and 6 deletions
@@ -0,0 +1,5 @@
class AddDocumentLinkToWorkItems < ActiveRecord::Migration[7.1]
def change
add_column :work_items, :document_link, :string
end
end
Generated
+2 -1
View File
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.1].define(version: 2023_10_08_152722) do
ActiveRecord::Schema[7.1].define(version: 2023_10_08_153855) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -70,6 +70,7 @@ ActiveRecord::Schema[7.1].define(version: 2023_10_08_152722) do
t.datetime "updated_at", null: false
t.datetime "available_from"
t.datetime "completed_at"
t.string "document_link"
t.index ["course_id"], name: "index_work_items_on_course_id"
end