Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class AddClickUpTokenToUsersTable extends Migration |
||
13 | { |
||
14 | /** |
||
15 | * Run the migrations. |
||
16 | * |
||
17 | * @return void |
||
18 | */ |
||
19 | public function up() |
||
20 | { |
||
21 | Schema::table( |
||
22 | 'users', |
||
23 | function (Blueprint $table) { |
||
24 | $table->string('clickup_token', 1024) |
||
25 | ->after('password') |
||
26 | ->nullable(); |
||
27 | } |
||
28 | ); |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * Reverse the migrations. |
||
33 | * |
||
34 | * @return void |
||
35 | */ |
||
36 | public function down() |
||
42 | } |
||
43 | ); |
||
46 |