X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=priv%2Frepo%2Fmigrations%2F20170529093232_longer_bios.exs;h=e25e5e144afb3d21d33252822e05ca5cc65be066;hb=73609211a425922a5068d3912a36b82abe24e12c;hp=f8c14b1175ca44d891af06a2ef59a4cedaed25bd;hpb=c7fdd1b7ff6e7a08389395d555862eaec9721b08;p=akkoma diff --git a/priv/repo/migrations/20170529093232_longer_bios.exs b/priv/repo/migrations/20170529093232_longer_bios.exs index f8c14b117..e25e5e144 100644 --- a/priv/repo/migrations/20170529093232_longer_bios.exs +++ b/priv/repo/migrations/20170529093232_longer_bios.exs @@ -1,9 +1,15 @@ defmodule Pleroma.Repo.Migrations.LongerBios do use Ecto.Migration - def change do + def up do alter table(:users) do - modify :bio, :text + modify(:bio, :text) + end + end + + def down do + alter table(:users) do + modify(:bio, :string) end end end