| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 12 | public function up() |
||
| 13 | { |
||
| 14 | Schema::create('binary_users', function (Blueprint $table) { |
||
| 15 | $table->binary('user_id'); |
||
| 16 | $table->unsignedInteger('organization_id'); |
||
| 17 | $table->primary(['user_id', 'organization_id']); |
||
| 18 | $table->unsignedInteger('role_id'); |
||
| 19 | $table->binary('binary_role_id')->nullable(); |
||
| 20 | $table->string('name')->unique(); |
||
| 21 | $table->unsignedInteger('counter')->default(0); |
||
| 22 | }); |
||
| 33 |