akkoma/priv/repo/migrations/20200901061637_bio_set_not_null.exs

11 lines
232 B
Elixir
Raw Normal View History

defmodule Pleroma.Repo.Migrations.BioSetNotNull do
use Ecto.Migration
def change do
execute(
"alter table users alter column bio set not null",
"alter table users alter column bio drop not null"
)
end
end