Skip to content

Commit 2ceba58

Browse files
Drop repository password length constraint (#3672)
The repository password column is used for GitHub app tokens. GitHub [recently announced](https://github.blog/changelog/2026-04-24-notice-about-upcoming-new-format-for-github-app-installation-tokens/) a switch to a JWT approach, which will result in much longer tokens. This drops our length constraint on the password column to accommodate these longer tokens.
1 parent cc5b0ea commit 2ceba58

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Support\Facades\DB;
5+
6+
return new class extends Migration {
7+
public function up(): void
8+
{
9+
DB::statement('ALTER TABLE repositories ALTER COLUMN password TYPE text');
10+
}
11+
12+
public function down(): void
13+
{
14+
}
15+
};

0 commit comments

Comments
 (0)