| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function up() |
||
| 15 | { |
||
| 16 | Schema::create('devices', function (Blueprint $table) { |
||
| 17 | $table->increments('id'); |
||
| 18 | $table->nullableMorphs('deviceable'); |
||
| 19 | $table->string('udid', 40)->nullable()->index(); |
||
| 20 | $table->string('os', 15)->nullable()->index(); |
||
| 21 | $table->string('os_version')->nullable(); |
||
| 22 | $table->string('manufacturer')->nullable(); |
||
| 23 | $table->string('model')->nullable(); |
||
| 24 | $table->string('fcm_token')->nullable(); |
||
| 25 | $table->string('app_version', 20)->nullable()->index(); |
||
| 26 | $table->nullableTimestamps(); |
||
| 27 | $table->softDeletes(); |
||
| 28 | }); |
||
| 29 | } |
||
| 30 | |||
| 41 |