id(); $table->unsignedBigInteger('tenant_id'); $table->string('customer', 100); $table->string('plan', 50)->default('Business'); $table->bigInteger('monthly_fee')->default(0); $table->string('billing_cycle', 20)->default('monthly'); $table->date('start_date')->nullable(); $table->date('next_billing')->nullable(); $table->string('status', 20)->default('active'); $table->integer('users')->default(0); $table->text('memo')->nullable(); $table->timestamps(); $table->softDeletes(); $table->index(['tenant_id', 'status']); }); } public function down(): void { Schema::dropIfExists('subscriptions'); } };