id(); $table->foreignId('user_id')->nullable()->constrained()->nullOnDelete(); $table->string('name', 100); $table->json('cards'); $table->boolean('is_system')->default(false); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('decks'); } };