Edit File: 2024_12_09_140211_create_store_updates_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateStoreUpdatesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('store_updates', function (Blueprint $table) { $table->id(); $table->foreignId('store_id')->constrained('stores'); $table->string('icon')->nullable(); $table->string('cover')->nullable(); $table->string('name')->nullable(); $table->string('bank_name')->nullable(); $table->string('iban_number')->nullable(); $table->string('bank_number')->nullable(); $table->string('bank_owner_name')->nullable(); $table->string('address')->nullable(); $table->string('lat')->nullable(); $table->string('long')->nullable(); $table->text('days')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('store_updates'); } }
Back to File Manager