From adcbaea485b3d8b3d86ff96d431406f79494539d Mon Sep 17 00:00:00 2001 From: Muhsin <12408980+muhsin-k@users.noreply.github.com> Date: Thu, 9 Apr 2026 11:41:41 +0400 Subject: [PATCH] chore: add started_at to calls migration --- db/migrate/20260408170902_create_calls.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/db/migrate/20260408170902_create_calls.rb b/db/migrate/20260408170902_create_calls.rb index 9c605fff3..78eef3d9b 100644 --- a/db/migrate/20260408170902_create_calls.rb +++ b/db/migrate/20260408170902_create_calls.rb @@ -10,6 +10,7 @@ class CreateCalls < ActiveRecord::Migration[7.0] t.integer :provider, null: false, default: 0 t.integer :direction, null: false t.string :status, null: false, default: 'ringing' + t.datetime :started_at t.integer :duration_seconds t.string :end_reason t.jsonb :meta, default: {}