feat: update summary to be a text field
This commit is contained in:
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user