Skip to content

Commit a1b0742

Browse files
authored
feat: [LAR-148] update avatar column on social account table (#273)
1 parent 1dd593c commit a1b0742

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use Illuminate\Database\Migrations\Migration;
6+
use Illuminate\Database\Schema\Blueprint;
7+
use Illuminate\Support\Facades\Schema;
8+
9+
return new class extends Migration
10+
{
11+
public function up(): void
12+
{
13+
Schema::table('social_accounts', static function (Blueprint $table): void {
14+
$table->text('avatar')->nullable()->change(); // Text because Github avatar can be greater than 255 characters
15+
});
16+
}
17+
};

0 commit comments

Comments
 (0)