Training Part 1;

This commit is contained in:
kagir committed 2024-01-27 19:09:56 +01:00
1 parent 6627021355
commit 5d05167492
40 files changed
+26497 -105

No files matched your search

@@ -0,0 +1,22 @@
<?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('words', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('translation');
$table->timestamps();
});
}
public function down(): void
{
Schema::dropIfExists('words');
}
};