Upcoming database changes RELEASE 20 September 2022

-ActiveRecord::Schema.define(version: 2022_08_24_223247) do
+ActiveRecord::Schema.define(version: 2022_09_14_072044) do

@@ -830,6 +830,15 @@
     t.index ["name"], name: "index_elcapitan_tenant_configurations_on_name", unique: true
   end

+  create_table "email_events", force: :cascade do |t|
+    t.string "type"
+    t.jsonb "additional_data", default: {}, null: false
+    t.bigint "email_id"
+    t.datetime "created_at", null: false
+    t.datetime "updated_at", null: false
+    t.index ["email_id"], name: "index_email_events_on_email_id"
+  end
+
   create_table "email_templates", id: :serial, force: :cascade do |t|
     t.string "name", null: false
     t.text "content", null: false
@@ -2253,6 +2262,7 @@
     t.boolean "active", default: true
     t.bigint "default_note_template_id"
     t.text "note_templates", default: [], array: true
+    t.text "categories", default: [], array: true
     t.index ["default_note_template_id"], name: "index_query_types_on_default_note_template_id"
   end

@@ -3590,6 +3600,7 @@
   add_foreign_key "company_leads", "users", column: "lead_manager_id"
   add_foreign_key "contacts", "users", column: "created_by_id"
   add_foreign_key "cortex_rails_organisations", "cortex_rails_api_configs", column: "api_config_id"
+  add_foreign_key "email_events", "emails"
   add_foreign_key "emails", "reminders"
   add_foreign_key "employer_campaigns", "companies"
   add_foreign_key "employment_hours", "jobseekers"
(END)

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.