debug
This commit is contained in:
@@ -21,7 +21,6 @@ return new class extends Migration
|
||||
$table->dateTime('exit_time')->nullable();
|
||||
$table->dateTime('enter_time')->nullable();
|
||||
$table->timestamps();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -13,8 +13,6 @@ return new class extends Migration
|
||||
{
|
||||
Schema::table('harims', function (Blueprint $table) {
|
||||
$table->decimal('final_plan_space')->nullable();
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -12,9 +12,12 @@ return new class extends Migration
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('cmms_machines', function (Blueprint $table) {
|
||||
$table->foreignId('province_id')->nullable()->constrained('provinces');
|
||||
$table->foreignId('city_id')->nullable()->constrained('cities');
|
||||
$table->foreignId('station_id')->nullable()->constrained('rahdari_points');
|
||||
$table->unsignedTinyInteger('province_id')->nullable();
|
||||
$table->foreign('province_id')->references('id')->on('provinces');
|
||||
$table->unsignedSmallInteger('city_id')->nullable();
|
||||
$table->foreign('city_id')->references('id')->on('cities');
|
||||
$table->unsignedSmallInteger('station_id')->nullable();
|
||||
$table->foreign('station_id')->references('id')->on('rahdari_points');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user