Skip to content

Commit

Permalink
fix: fixing tag reference in post_tags migration
Browse files Browse the repository at this point in the history
  • Loading branch information
juanzeen committed Oct 12, 2024
1 parent d68e156 commit 44832ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion priv/repo/migrations/20241009022246_create_posts_tags.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Pescarte.Database.Repo.Migrations.CreatePostTags do
def change do
create table(:posts_tags) do
add :post_id, references(:posts, type: :string), null: false
add :tag_id, references(:tag, type: :string), null: false
add :tag_id, references(:blog_tag, type: :string), null: false
timestamps()
end
end
Expand Down

0 comments on commit 44832ed

Please sign in to comment.