Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
12 | public function up() |
||
13 | { |
||
14 | Schema::table('users', function (Blueprint $table) { |
||
15 | $table->enum('provider', ['gitlab', 'github'])->default('github')->after('provider_id'); |
||
16 | }); |
||
17 | |||
18 | Schema::table('organizations', function (Blueprint $table) { |
||
19 | $table->enum('provider', ['gitlab', 'github'])->default('github')->after('provider_id'); |
||
20 | }); |
||
21 | |||
22 | Schema::table('issues', function (Blueprint $table) { |
||
23 | $table->enum('provider', ['gitlab', 'github'])->default('github')->after('provider_id'); |
||
24 | }); |
||
25 | } |
||
26 | |||
45 |