Conditions | 1 |
Paths | 1 |
Total Lines | 30 |
Code Lines | 20 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | public function up(): void |
||
13 | { |
||
14 | //Action when migrate up |
||
15 | $this->create('oauth_access_tokens', function (CreateTable $table) { |
||
16 | $table->string('access_token', 100) |
||
17 | ->notNull() |
||
18 | ->description('The access token') |
||
19 | ->primary(); |
||
20 | |||
21 | $table->string('scope', 2000) |
||
22 | ->description('The access token scopes separated with space if many'); |
||
23 | |||
24 | $table->datetime('expires') |
||
25 | ->notNull() |
||
26 | ->description('The access token expire time'); |
||
27 | |||
28 | $table->integer('user_id') |
||
29 | ->description('The owner of access token'); |
||
30 | |||
31 | $table->string('client_id') |
||
32 | ->description('The access token client') |
||
33 | ->notNull(); |
||
34 | |||
35 | $table->timestamps(); |
||
36 | |||
37 | $table->foreign('client_id') |
||
38 | ->references('oauth_clients', 'id') |
||
39 | ->onDelete('NO ACTION'); |
||
40 | |||
41 | $table->engine('INNODB'); |
||
42 | }); |
||
51 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths