PATH:
home
/
rwabteecom
/
project_11
/
database
/
migrations
/
Editing: 2024_08_28_115029_add_info_to_themes_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('themes', function (Blueprint $table) { $table->string('site_title')->nullable(); $table->string('intro_text')->nullable(); $table->boolean('hide_branding')->default(false); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('themes', function (Blueprint $table) { $table->dropColumn('site_title'); $table->dropColumn('intro_text'); $table->dropColumn('hide_branding'); }); } };
SAVE
CANCEL