projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
moving to mrf namespace migration fix
[akkoma]
/
priv
/
repo
/
migrations
/
20170321074828_create_activity.exs
diff --git
a/priv/repo/migrations/20170321074828_create_activity.exs
b/priv/repo/migrations/20170321074828_create_activity.exs
index f5c872721d2bef6f336c2b302b9371d8bbd44810..ab00a47c3bb9e6aaeee1c15ac0a5bbe6938a5196 100644
(file)
--- a/
priv/repo/migrations/20170321074828_create_activity.exs
+++ b/
priv/repo/migrations/20170321074828_create_activity.exs
@@
-3,12
+3,11
@@
defmodule Pleroma.Repo.Migrations.CreatePleroma.Activity do
def change do
create_if_not_exists table(:activities) do
- add
:data, :map
+ add
(:data, :map)
timestamps()
end
- create_if_not_exists index(:activities, [:data], using: :gin)
-
+ create_if_not_exists(index(:activities, [:data], using: :gin))
end
end