id(); $table->string('name', 255)->comment('نام دارو'); $table->string('dosage_form', 50)->nullable()->comment('شکل دارویی (Tab, Cap, Amp, Drop, Serum, Cream, ...)'); $table->string('strength', 100)->nullable()->comment('دوز (مثلاً 500mg, 5mg/5ml)'); $table->integer('quantity')->nullable(); $table->string('timing', 100)->nullable()->comment('زمان مصرف (مثلاً q8h, q12h)'); $table->text('notes')->nullable()->comment('یادداشت‌ها'); $table->boolean('is_default')->default(false); $table->boolean('is_active')->default(true)->comment('فعال/غیرفعال'); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('medications'); } };