projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'develop' into issue/1276-2
[akkoma]
/
priv
/
repo
/
migrations
/
20170529093232_longer_bios.exs
diff --git
a/priv/repo/migrations/20170529093232_longer_bios.exs
b/priv/repo/migrations/20170529093232_longer_bios.exs
index f8c14b1175ca44d891af06a2ef59a4cedaed25bd..e25e5e144afb3d21d33252822e05ca5cc65be066 100644
(file)
--- 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