projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'linkify' into 'develop'
[akkoma]
/
priv
/
repo
/
migrations
/
20170502083023_add_local_field_to_activities.exs
diff --git
a/priv/repo/migrations/20170502083023_add_local_field_to_activities.exs
b/priv/repo/migrations/20170502083023_add_local_field_to_activities.exs
index 088d68f675a60b979b5899781b7991efaccbee68..6b61bd464f3a64f0e96c07d95bdf96476b3d9ad0 100644
(file)
--- a/
priv/repo/migrations/20170502083023_add_local_field_to_activities.exs
+++ b/
priv/repo/migrations/20170502083023_add_local_field_to_activities.exs
@@
-3,9
+3,9
@@
defmodule Pleroma.Repo.Migrations.AddLocalFieldToActivities do
def change do
alter table(:activities) do
def change do
alter table(:activities) do
- add
:local, :boolean, default: true
+ add
(:local, :boolean, default: true)
end
end
- create
index(:activities, [:local]
)
+ create
_if_not_exists(index(:activities, [:local])
)
end
end
end
end