create('payment_checkout_quotes', function (Blueprint $table): void { $table->string('order_no')->primary(); $table->string('provider'); $table->unsignedBigInteger('user_id'); $table->integer('quote_version'); $table->unsignedBigInteger('usd_cents'); $table->string('asset'); $table->unsignedBigInteger('expected_units'); $table->string('rate')->nullable(); $table->string('source')->nullable(); $table->unsignedBigInteger('source_at')->nullable(); $table->unsignedBigInteger('fetched_at')->nullable(); $table->unsignedBigInteger('rate_actor_id')->nullable(); $table->string('rate_reason')->nullable(); $table->unsignedBigInteger('quoted_at')->nullable(); $table->unsignedBigInteger('provider_expires_at')->nullable(); $table->unsignedBigInteger('accept_until')->nullable(); $table->string('status')->default('quoted'); $table->string('review_reason')->nullable(); $table->string('receipt_ref')->nullable(); $table->unsignedBigInteger('received_at')->nullable(); $table->unsignedBigInteger('paid_at')->nullable(); $table->unsignedBigInteger('received_units')->nullable(); $table->unsignedBigInteger('credit_cents')->nullable(); $table->unsignedBigInteger('referral_id')->nullable(); }); }