| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | public function up(): void |
||
| 12 | { |
||
| 13 | Schema::create('user_chat', static function (Blueprint $table) { |
||
| 14 | $table->bigInteger('user_id')->comment('Unique user identifier'); |
||
| 15 | $table->bigInteger('chat_id')->index('chat_id')->comment('Unique user or chat identifier'); |
||
| 16 | $table->primary(['user_id', 'chat_id']); |
||
| 17 | }); |
||
| 25 |