| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | 11 | public static function defaultColumns(Blueprint $table) |
|
| 10 | { |
||
| 11 | 11 | $table->id(); |
|
| 12 | 11 | $table->morphs('receiver'); |
|
| 13 | 11 | $table->morphs('sendable'); |
|
| 14 | 11 | $table->string('group', 30)->default('default')->index(); |
|
| 15 | 11 | $table->dateTime('sent_at')->index(); |
|
| 16 | 11 | $table->json('meta')->nullable(); |
|
| 17 | 11 | $table->timestamps(); |
|
| 18 | } |
||
| 20 |