Skip to content

Commit

Permalink
Fix incorrect option in CreateFileSets migration for ecto_sql 3.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mbklein committed Oct 2, 2024
1 parent 4e5db36 commit 4cba4a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defmodule Meadow.Repo.Migrations.CreateFileSets do
add(:extracted_metadata, :map, default: %{})
add(:structural_metadata, :map, default: %{})
add(:derivatives, :map, default: %{})
add(:work_id, references(:works, null: false, on_delete: :delete_all))
add(:work_id, references(:works, on_delete: :delete_all), null: false)
add(:rank, :integer)
add(:poster_offset, :integer)

Expand Down

0 comments on commit 4cba4a9

Please sign in to comment.