From a6744255372be01c61c282738cfffcef7aa74824 Mon Sep 17 00:00:00 2001 From: Axel Rindle Date: Tue, 13 Aug 2024 22:26:35 +0200 Subject: [PATCH] fix: don't reference schema explicitly (#436) --- ...21109201623_alter_operations_translation_id_constraint.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/priv/repo/migrations/20221109201623_alter_operations_translation_id_constraint.exs b/priv/repo/migrations/20221109201623_alter_operations_translation_id_constraint.exs index b07f6733a..34e54b282 100644 --- a/priv/repo/migrations/20221109201623_alter_operations_translation_id_constraint.exs +++ b/priv/repo/migrations/20221109201623_alter_operations_translation_id_constraint.exs @@ -10,7 +10,7 @@ defmodule Accent.Repo.Migrations.AlterOperationsTranslationIdConstraint do execute(""" ALTER TABLE operations - ADD CONSTRAINT "operations_translation_id_fkey" FOREIGN KEY ("translation_id") REFERENCES "public"."translations"("id") DEFERRABLE INITIALLY DEFERRED + ADD CONSTRAINT "operations_translation_id_fkey" FOREIGN KEY ("translation_id") REFERENCES "translations"("id") DEFERRABLE INITIALLY DEFERRED """) end @@ -22,7 +22,7 @@ defmodule Accent.Repo.Migrations.AlterOperationsTranslationIdConstraint do execute(""" ALTER TABLE operations - ADD CONSTRAINT "operations_translation_id_fkey" FOREIGN KEY ("translation_id") REFERENCES "public"."translations"("id") + ADD CONSTRAINT "operations_translation_id_fkey" FOREIGN KEY ("translation_id") REFERENCES "translations"("id") """) end end