3 use App\Models\Organization;
4 use Illuminate\Database\Migrations\Migration;
5 use Illuminate\Database\Schema\Blueprint;
6 use Illuminate\Support\Facades\Schema;
8 return new class extends Migration
17 Schema::create('organizations', function (Blueprint $table) {
19 $table->string('name')->unique();
20 $table->text('title');
24 $sg = new Organization();
26 $sg->title = 'SpeedGaming';
31 * Reverse the migrations.
35 public function down()
37 Schema::dropIfExists('organizations');