| Conditions | 1 |
| Paths | 1 |
| Total Lines | 23 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function up() |
||
| 15 | { |
||
| 16 | Schema::create( |
||
| 17 | 'mpesa_c2b_callbacks', |
||
| 18 | function (Blueprint $table) { |
||
| 19 | $table->increments('id'); |
||
| 20 | $table->string('TransactionType'); |
||
| 21 | $table->string('TransID')->unique(); |
||
| 22 | $table->string('TransTime'); |
||
| 23 | $table->double('TransAmount', 10, 2); |
||
| 24 | $table->integer('BusinessShortCode'); |
||
| 25 | $table->string('BillRefNumber'); |
||
| 26 | $table->string('InvoiceNumber')->nullable(); |
||
| 27 | $table->string('ThirdPartyTransID')->nullable(); |
||
| 28 | $table->double('OrgAccountBalance', 10, 2); |
||
| 29 | $table->string('MSISDN'); |
||
| 30 | $table->string('FirstName')->nullable(); |
||
| 31 | $table->string('MiddleName')->nullable(); |
||
| 32 | $table->string('LastName')->nullable(); |
||
| 33 | $table->timestamps(); |
||
| 34 | } |
||
| 35 | ); |
||
| 36 | } |
||
| 37 | |||
| 48 |