Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | public function up() |
||
20 | { |
||
21 | Schema::create('stripe_accounts', function (Blueprint $table) { |
||
22 | $table->increments('id'); |
||
23 | $table->string('customer_id'); |
||
24 | $table->string('card_id')->nullable(); |
||
25 | $table->string('card_funding')->nullable(); |
||
26 | $table->string('card_last_digits')->nullable(); |
||
27 | $table->string('card_fingerprint')->nullable(); |
||
28 | |||
29 | $table->integer('user_id')->unsigned(); |
||
30 | $table->foreign('user_id')->references('id')->on('users'); |
||
31 | |||
32 | $table->timestamps(); |
||
33 | $table->softDeletes(); |
||
34 | }); |
||
35 | } |
||
36 | |||
47 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.