| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?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::create('settings', function (Blueprint $table) {
- $table->id();
- $table->string('logo')->nullable();
- $table->string('favicon')->nullable();
- $table->string('top_bar_phone')->nullable();
- $table->string('top_bar_email')->nullable();
- $table->string('footer_address')->nullable();
- $table->string('footer_phone')->nullable();
- $table->string('footer_email')->nullable();
- $table->string('facebook')->nullable();
- $table->string('twitter')->nullable();
- $table->string('youtube')->nullable();
- $table->string('linkedin')->nullable();
- $table->string('instagram')->nullable();
- $table->string('copyright')->nullable();
- $table->string('banner')->nullable();
- $table->timestamps();
- });
- }
- /**
- * Reverse the migrations.
- */
- public function down(): void
- {
- Schema::dropIfExists('settings');
- }
- };
|