126461942b
Gets rid of '|| ""' in multiple places and fixes #2067
8 lines
166 B
Elixir
8 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
|