honkoma/priv/repo/migrations/20200901061256_ensure_bio_i...

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