summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20200901061637_bio_set_not_null.exs
blob: e3a67d4e7244bc50a20da5cc265d6e8de8ac5d25 (plain)
1
2
3
4
5
6
7
8
9
10
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