restore composer.json, add mysqli extension

This commit is contained in:
2026-04-15 17:02:52 +05:00
commit 77cf56a348
4317 changed files with 1397107 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateAddressesTable extends Migration
{
public function up()
{
Schema::create('addresses', function (Blueprint $table) {
$table->bigIncrements('id');
$table->unsignedBigInteger('user_id');
$table->unsignedBigInteger('city_id');
// $table->bigInteger('phone');
$table->string('address')->nullable();
$table->string('home')->nullable();
$table->string('landmark')->nullable();
$table->softDeletes();
$table->timestamps();
$table->foreign('city_id')->references('id')->on('cities');
});
}
public function down()
{
Schema::dropIfExists('addresses');
}
}