Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85831088
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
576 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/priv/repo/migrations/20180513104714_modify_activity_index.exs b/priv/repo/migrations/20180513104714_modify_activity_index.exs
new file mode 100644
index 000000000..2df530839
--- /dev/null
+++ b/priv/repo/migrations/20180513104714_modify_activity_index.exs
@@ -0,0 +1,9 @@
+defmodule Pleroma.Repo.Migrations.ModifyActivityIndex do
+ use Ecto.Migration
+ @disable_ddl_transaction true
+
+ def change do
+ create index(:activities, ["id desc nulls last", "local"], concurrently: true)
+ drop_if_exists index(:activities, ["id desc nulls last"])
+ end
+end
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Nov 1, 9:25 AM (9 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1802919
Default Alt Text
(576 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline