id(); $table->string('name'); $table->string('type'); $table->integer('value'); $table->json('rules')->default('{}'); $table->boolean('is_active'); $table->foreignId('chart_of_account_id')->constrained(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('discounts'); } };