mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-06 08:59:50 +00:00
126461942b
Gets rid of '|| ""' in multiple places and fixes #2067
7 lines
166 B
Elixir
7 lines
166 B
Elixir
defmodule Pleroma.Repo.Migrations.EnsureBioIsString do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
execute("update users set bio = '' where bio is null", "")
|
|
end
|
|
end
|