[#3213] Removed PK from hashtags_objects table. Improved hashtags_transfer mix task (logging of failed ids).
This commit is contained in:
parent
48e0f22ab1
commit
0d521022fe
3 changed files with 20 additions and 15 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue