Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | public function up() |
||
13 | { |
||
14 | Schema::create('mtn_momo_tokens', function (Blueprint $table) { |
||
15 | $table->increments('id'); |
||
16 | $table->text('access_token'); |
||
17 | $table->text('refresh_token')->nullable(); |
||
18 | $table->string('token_type')->default('Bearer'); |
||
19 | $table->enum('product', [ |
||
20 | 'collection', |
||
21 | 'disbursement', |
||
22 | 'remittance', |
||
23 | ]); |
||
24 | $table->timestamps(); |
||
25 | $table->timestamp('expires_at')->nullable(); |
||
26 | $table->softDeletes(); |
||
27 | }); |
||
38 |