Upcoming database changes RELEASE 01 August 2023


-ActiveRecord::Schema.define(version: 2023_07_06_133416) do
+ActiveRecord::Schema.define(version: 2023_07_14_010552) do

   # These are extensions that must be enabled in order to support this database
   enable_extension "citext"
@@ -698,8 +698,6 @@
     t.datetime "in_progress_at"
     t.datetime "created_at", null: false
     t.datetime "updated_at", null: false
-    t.string "reason_for_holding"
-    t.string "reason_for_closing"
     t.bigint "referral_source_id"
     t.string "sub_source_type"
     t.bigint "sub_source_id"
@@ -712,6 +710,7 @@
     t.datetime "created_by"
     t.boolean "unsubscribed_from_bulk_emails", default: false
     t.bigint "lead_substatus_id"
+    t.datetime "todo_at"
     t.index ["created_by_id"], name: "index_company_leads_on_created_by_id"
     t.index ["lead_manager_id"], name: "index_company_leads_on_lead_manager_id"
     t.index ["lead_stage_id"], name: "index_company_leads_on_lead_stage_id"
@@ -1658,10 +1657,12 @@
     t.boolean "provider_transfer", default: false, null: false
     t.datetime "created_at", null: false
     t.datetime "updated_at", null: false
-    t.bigint "lead_stage_id"
-    t.bigint "lead_sub_stage_id"
+    t.string "reason_for_holding"
+    t.string "reason_for_closing"
     t.datetime "on_hold_at"
     t.datetime "closed_at"
+    t.bigint "lead_stage_id"
+    t.bigint "lead_sub_stage_id"
     t.bigint "created_by_id"
     t.datetime "created_by"
     t.datetime "marketo_synced_at"
@@ -1669,9 +1670,8 @@
     t.boolean "unsubscribed_from_bulk_emails", default: false
     t.boolean "unsubscribed_from_bulk_sms", default: false
     t.bigint "lead_substatus_id"
-    t.string "reason_for_holding"
-    t.string "reason_for_closing"
     t.boolean "potential_duplicate", default: false
+    t.datetime "todo_at"
     t.index ["created_by_id"], name: "index_jobseeker_leads_on_created_by_id"
     t.index ["lead_manager_id"], name: "index_jobseeker_leads_on_lead_manager_id"
     t.index ["lead_stage_id"], name: "index_jobseeker_leads_on_lead_stage_id"
@@ -3139,6 +3139,8 @@
     t.boolean "auto_create_reminders_for_transfer_leads", default: false, null: false
     t.integer "lead_days_for_reminder", default: 3, null: false
     t.integer "leads_kanban_day_limit", default: 7, null: false
+    t.integer "jobseeker_leads_auto_close_days", default: 30
+    t.integer "company_leads_auto_close_days", default: 30
   end

Did you find it helpful? Yes No

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