id(); $table->string('telephone_id'); $table->string('caller_phone_number'); $table->foreignId('province_id')->nullable()->constrained(); $table->string('province_fa')->nullable(); $table->foreignId('operator_id')->nullable()->constrained('users'); $table->string('operator_username')->nullable(); $table->string('operator_full_name')->nullable(); $table->unsignedSmallInteger('category_id')->nullable(); $table->string('category_name')->nullable(); $table->unsignedSmallInteger('subcategory_id')->nullable(); $table->string('subcategory_name')->nullable(); $table->text('description')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('calls'); } };