Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('api_apps', function (Blueprint $table) { |
||
17 | $table->string('app_id', 190); |
||
18 | $table->integer('user_id'); |
||
19 | $table->string('app_secret'); |
||
20 | $table->string('others')->nullable(); |
||
21 | $table->timestamps(); |
||
22 | |||
23 | $table->primary('app_id'); |
||
24 | $table->index('user_id'); |
||
25 | }); |
||
38 |