projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
MastoAPI: More link headers.
[akkoma]
/
priv
/
repo
/
migrations
/
20170501124823_add_id_contraints_to_activities_and_objects.exs
1
defmodule Pleroma.Repo.Migrations.AddIdContraintsToActivitiesAndObjects do
2
use Ecto.Migration
3
4
def change do
5
create index(:objects, ["(data->>\"id\")"], name: :objects_unique_apid_index)
6
create index(:activities, ["(data->>\"id\")"], name: :activities_unique_apid_index)
7
end
8
end