increments('id'); $table->string('stripe_checkout_id')->nullable(); $table->string('stripe_payment_id')->nullable(); $table->string('status')->default(OrderStatus::Pending); $table->timestamp('expires_at')->nullable(); $table->unsignedInteger('customer_id'); $table->foreign('customer_id')->references('id')->on('customers')->cascadeOnDelete(); $table->unsignedInteger('product_price_id'); $table->foreign('product_price_id')->references('id')->on('product_prices')->cascadeOnDelete(); $table->unsignedInteger('server_id')->nullable(); $table->foreign('server_id')->references('id')->on('servers')->nullOnDelete(); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('orders'); } };