This commit is contained in:
parsa aghaei committed 2024-09-25 13:05:18 +03:30
commit bd92c3e3fc
79 files changed
+10789

No files matched your search

@@ -0,0 +1,31 @@
<?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()
{
Schema::create('services', function (Blueprint $table) {
$table->id();
$table->string('title');
$table->text('description');
$table->string('imageSrc');
$table->string('altText');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('services');
}
};