From c00c7ec59c522ef44d29d08ff4a4f017b2543857 Mon Sep 17 00:00:00 2001 From: Phil Lee Date: Wed, 1 Mar 2023 12:11:28 +0000 Subject: [PATCH] add category to bulk upload errors --- .../20230301120116_add_category_to_bulk_upload_errors.rb | 5 +++++ db/schema.rb | 1 + 2 files changed, 6 insertions(+) create mode 100644 db/migrate/20230301120116_add_category_to_bulk_upload_errors.rb diff --git a/db/migrate/20230301120116_add_category_to_bulk_upload_errors.rb b/db/migrate/20230301120116_add_category_to_bulk_upload_errors.rb new file mode 100644 index 000000000..000cbbd6d --- /dev/null +++ b/db/migrate/20230301120116_add_category_to_bulk_upload_errors.rb @@ -0,0 +1,5 @@ +class AddCategoryToBulkUploadErrors < ActiveRecord::Migration[7.0] + def change + add_column :bulk_upload_errors, :category, :text, null: true + end +end diff --git a/db/schema.rb b/db/schema.rb index afa0b6b74..c2f8f8600 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -26,6 +26,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_03_01_144555) do t.datetime "created_at", null: false t.datetime "updated_at", null: false t.text "col" + t.text "category" t.index ["bulk_upload_id"], name: "index_bulk_upload_errors_on_bulk_upload_id" end