Conditions | 1 |
Paths | 1 |
Total Lines | 20 |
Code Lines | 18 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('instamojo_refund', function (Blueprint $table) { |
||
17 | $table->engine = 'InnoDB'; |
||
18 | $table->charset = 'utf8mb4'; |
||
19 | $table->collation = 'utf8mb4_unicode_ci'; |
||
20 | $table->increments('id'); |
||
21 | $table->integer('user_id')->unsigned(); |
||
22 | $table->foreign('user_id')->references('id')->on('users'); |
||
23 | $table->string('refund_id'); |
||
24 | $table->string('payment_id'); |
||
25 | $table->string('status'); |
||
26 | $table->string('type'); |
||
27 | $table->string('body'); |
||
28 | $table->string('refund_amount'); |
||
29 | $table->string('total_amount'); |
||
30 | $table->integer('created_by'); |
||
31 | $table->integer('updated_by')->nullable(); |
||
32 | $table->dateTime('deleted_at')->nullable(); |
||
33 | $table->timestamps(); |
||
34 | }); |
||
47 |