id(); $table->morphs('billable'); $table->string('type'); $table->string('paddle_id')->unique(); $table->string('status'); $table->timestamp('trial_ends_at')->nullable(); $table->timestamp('paused_at')->nullable(); $table->timestamp('ends_at')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('subscriptions'); } };