feat: update summary to be a text field

This commit is contained in:
Shivam Mishra
2023-07-17 14:00:36 +05:30
parent babe1028e2
commit b65a2f7ebd
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
# priority :integer
# snoozed_until :datetime
# status :integer default("open"), not null
# summary :string
# summary :text
# summary_generated_at :datetime
# uuid :uuid not null
# waiting_since :datetime
@@ -1,6 +1,6 @@
class AddSummaryFieldsToConversations < ActiveRecord::Migration[7.0]
def change
add_column :conversations, :summary, :string
add_column :conversations, :summary, :text
add_column :conversations, :summary_generated_at, :datetime
end
end
+1 -1
View File
@@ -451,7 +451,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_07_17_075819) do
t.integer "priority"
t.datetime "waiting_since"
t.bigint "sla_policy_id"
t.string "summary"
t.text "summary"
t.datetime "summary_generated_at"
t.index ["account_id", "display_id"], name: "index_conversations_on_account_id_and_display_id", unique: true
t.index ["account_id", "id"], name: "index_conversations_on_id_and_account_id"