| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | public function up() |
||
| 10 | { |
||
| 11 | Schema::create('payu_transactions', function (Blueprint $table) { |
||
| 12 | $table->id(); |
||
| 13 | $table->unsignedBigInteger('paid_for_id')->nullable(); |
||
| 14 | $table->string('paid_for_type')->nullable(); |
||
| 15 | $table->string('transaction_id')->unique(); |
||
| 16 | $table->text('gateway'); |
||
| 17 | $table->text('body'); |
||
| 18 | $table->string('destination'); |
||
| 19 | $table->text('hash'); |
||
| 20 | $table->text('response')->nullable(); |
||
| 21 | $table->enum('status', ['pending', 'failed', 'successful', 'invalid'])->default('pending')->index(); |
||
| 22 | $table->timestamp('verified_at')->nullable()->index(); |
||
| 23 | $table->softDeletes(); |
||
| 24 | $table->timestamps(); |
||
| 25 | }); |
||
| 26 | } |
||
| 27 | } |
||
| 28 |