Version 1.0.0

This commit is contained in:
2025-05-10 16:52:45 +02:00
commit bed95bff35
459 changed files with 36475 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use App\Models\Homepage;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Homepage::firstOrCreate(['title' => 'Strona główna', 'photo' => null, 'content' => null]);
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Homepage::where('title', 'Strona główna')->delete();
}
};