spc-pleroma/priv/repo/migrations/20170529093232_longer_bios.exs

16 lines
237 B
Elixir

defmodule Pleroma.Repo.Migrations.LongerBios do
use Ecto.Migration
def up do
alter table(:users) do
modify(:bio, :text)
end
end
def down do
alter table(:users) do
modify(:bio, :string)
end
end
end