create operator dialogue cartable

This commit is contained in:
2025-08-03 08:54:19 +03:30
parent f715f36442
commit 5085f22a1d
9 changed files with 280 additions and 40 deletions

View File

@@ -11,11 +11,11 @@ return new class extends Migration
*/
public function up(): void
{
Schema::create('operator_dialogue_ratings', function (Blueprint $table) {
Schema::create('operator_dialogues', function (Blueprint $table) {
$table->id();
$table->string('cdr_unique_id');
$table->dateTime('date');
$table->foreignId('expert_id')->constrained('users');
$table->foreignId('supervisor_id')->constrained('users');
$table->boolean('is_listen')->default(false);
$table->boolean('is_good');
$table->string('description')->nullable();
@@ -28,6 +28,6 @@ return new class extends Migration
*/
public function down(): void
{
Schema::dropIfExists('operator_dialogue_ratings');
Schema::dropIfExists('operator_dialogues');
}
};