Skip to content

Commit d2f83d8

Browse files
authored
Fix a Postgres error when Google profile pic URLs are super long (#2367)
Fixes a long-standing issue with some Google auth logins. Silly Josh.
1 parent d4e7a0d commit d2f83d8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
defmodule NervesHub.Repo.Migrations.ChangeUsersProfilePictureUrlType do
2+
use Ecto.Migration
3+
4+
def change() do
5+
alter table("users") do
6+
modify(:profile_picture_url, :text, from: :string)
7+
end
8+
end
9+
end

0 commit comments

Comments
 (0)