OwlCyberSecurity - MANAGER
Edit File: 2023_07_23_213213_update_store_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. */ public function up(): void { Schema::table('stores', function (Blueprint $table) { $table->dropColumn('name'); $table->longText('long_description')->nullable()->after('description'); $table->string('title')->nullable()->after('slug'); $table->integer('added_by')->nullable(); $table->integer('updated_by')->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { // } };