本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
lain.church
說明
註冊
登入
squeegily
/
pleroma
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
42
Wiki
活動
瀏覽代碼
Migration: Remove superfluous imports
1570-levenshtein-distance-user-search
lain
4 年之前
父節點
73127cff75
當前提交
8edead7c1d
共有
1 個檔案被更改
,包括
0 行新增
和
7 行删除
分割檢視
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
查看文件
@@ -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…
取消
儲存