id(); $blueprint->foreignId('user_id')->constrained()->onDelete('cascade'); $blueprint->string('title'); $blueprint->decimal('amount', 15, 2); $blueprint->string('type'); // income, expense $blueprint->string('category')->nullable(); $blueprint->string('icon')->nullable(); $blueprint->timestamps(); }); } public function down(): void { Schema::dropIfExists('transactions'); } };