summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2021-01-07 12:20:29 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2021-01-07 12:20:29 +0300
commit0d521022fe6157ce9a346c6915ce38292e653bb3 (patch)
tree1f0fcfd4f27f0c3a3af8d8fb3691804b3a28f2ed /priv
parent48e0f22ab1127b34a3bb7bcb687c131865ea3680 (diff)
downloadpleroma-0d521022fe6157ce9a346c6915ce38292e653bb3.tar.gz
pleroma-0d521022fe6157ce9a346c6915ce38292e653bb3.zip
[#3213] Removed PK from hashtags_objects table. Improved hashtags_transfer mix task (logging of failed ids).
Diffstat (limited to 'priv')
-rw-r--r--priv/repo/migrations/20201221203824_create_hashtags_objects.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/repo/migrations/20201221203824_create_hashtags_objects.exs b/priv/repo/migrations/20201221203824_create_hashtags_objects.exs
index b2649b4fb..214ea81c3 100644
--- a/priv/repo/migrations/20201221203824_create_hashtags_objects.exs
+++ b/priv/repo/migrations/20201221203824_create_hashtags_objects.exs
@@ -2,7 +2,7 @@ defmodule Pleroma.Repo.Migrations.CreateHashtagsObjects do
use Ecto.Migration
def change do
- create_if_not_exists table(:hashtags_objects) do
+ create_if_not_exists table(:hashtags_objects, primary_key: false) do
add(:hashtag_id, references(:hashtags), null: false)
add(:object_id, references(:objects), null: false)
end