fix the bugs

This commit is contained in:
2025-08-13 14:14:28 +03:30
parent 9a0758a754
commit f77d0ee0d0
11 changed files with 69 additions and 82 deletions

View File

@@ -13,7 +13,7 @@ return new class extends Migration
{
Schema::create('operator_dialogues', function (Blueprint $table) {
$table->id();
$table->string('cdr_unique_id');
$table->string('cdr_unique_id', 32)->collation('utf8mb4_general_ci');
$table->dateTime('date');
$table->foreignId('supervisor_id')->constrained('users');
$table->boolean('is_listen')->default(false);

View File

@@ -37,8 +37,15 @@ class PermissionSeeder extends Seeder
'guard_name' => 'api',
'created_at' => now(),
'updated_at' => now()
],
[
'id' => 4,
'name' => 'teleport_to_province',
'name_fa' => 'انتقال به استان ها',
'guard_name' => 'api',
'created_at' => now(),
'updated_at' => now()
]
]);
}
}