projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'feature/addressable-lists' into 'develop'
[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..9188f4beef691aa70524a6d2b8bff87050fbf564 100644
(file)
--- a/
priv/repo/migrations/20170529093232_longer_bios.exs
+++ b/
priv/repo/migrations/20170529093232_longer_bios.exs
@@
-1,9
+1,16
@@
defmodule Pleroma.Repo.Migrations.LongerBios do
use Ecto.Migration
- def
change
do
+ 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