Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | if (!Schema::hasTable('oauth_access_tokens')) { |
||
17 | Schema::create('oauth_access_tokens', function (Blueprint $table) { |
||
18 | $table->string('id', 100)->primary(); |
||
19 | $table->bigInteger('user_id')->index()->nullable(); |
||
20 | $table->unsignedInteger('client_id'); |
||
21 | $table->string('name')->nullable(); |
||
22 | $table->text('scopes')->nullable(); |
||
23 | $table->boolean('revoked'); |
||
24 | $table->timestamps(); |
||
25 | $table->dateTime('expires_at')->nullable(); |
||
26 | }); |
||
27 | } |
||
28 | } |
||
29 | |||
42 |