@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
return new class extends Migration {
|
||||
public function up(): void { Schema::create('lodge_photos',function(Blueprint $table){$table->id();$table->string('gallery_path');$table->string('thumbnail_path');$table->string('alt_text')->default('Cresta 31 lodge photograph');$table->timestamps();}); }
|
||||
public function down(): void { Schema::dropIfExists('lodge_photos'); }
|
||||
};
|
||||
Reference in New Issue
Block a user