| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 11 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php | ||
| 14 | public function up() | ||
| 15 |     { | ||
| 16 |         Schema::create('transactions', function (Blueprint $table) { | ||
| 17 | $table->id(); | ||
| 18 |             $table->unsignedBigInteger('order_id'); | ||
| 19 |             $table->decimal('amount', 15,2); | ||
| 20 |             $table->string('driver', 128); | ||
| 21 |             $table->enum('status', ['pending', 'successful', 'failed', 'refunded']); | ||
| 22 |             $table->string('ref_no')->nullable(); | ||
| 23 |             $table->string('token', 512)->nullable(); | ||
| 24 | $table->timestamps(); | ||
| 25 | }); | ||
| 38 |