diff --git a/server/database/migrations/2026_02_03_123436_make_avatars_nullable.php b/server/database/migrations/2026_02_03_123436_make_avatars_nullable.php new file mode 100644 index 0000000..94c30a2 --- /dev/null +++ b/server/database/migrations/2026_02_03_123436_make_avatars_nullable.php @@ -0,0 +1,36 @@ +string('avatar')->nullable()->change(); + }); + + Schema::table('social_logins', function (Blueprint $table) { + $table->string('avatar')->nullable()->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('users', function (Blueprint $table) { + $table->string('avatar')->nullable(false)->change(); + }); + + Schema::table('social_logins', function (Blueprint $table) { + $table->string('avatar')->nullable(false)->change(); + }); + } +};