This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
squeegily
/
pleroma
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
42
Wiki
Activity
Browse Source
Migration: Remove superfluous imports
1570-levenshtein-distance-user-search
lain
4 years ago
parent
73127cff75
commit
8edead7c1d
1 changed files
with
0 additions
and
7 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-7
priv/repo/migrations/20200603105113_add_unique_index_to_chat_message_references.exs
+ 0
- 7
priv/repo/migrations/20200603105113_add_unique_index_to_chat_message_references.exs
View File
@@ -1,13 +1,6 @@
defmodule Pleroma.Repo.Migrations.BackfillChatMessageReferences do
use Ecto.Migration
alias Pleroma.Chat
alias Pleroma.ChatMessageReference
alias Pleroma.Object
alias Pleroma.Repo
import Ecto.Query
def change do
create(unique_index(:chat_message_references, [:object_id, :chat_id]))
end
Write
Preview
Loading…
Cancel
Save