fix query helpers and add policy type to projections
All checks were successful
Build and Publish / build-release (push) Successful in 1m34s

This commit is contained in:
2026-04-22 15:28:48 -05:00
parent 6f008c71be
commit 7a7475ef13
4 changed files with 24 additions and 13 deletions

View File

@@ -6,6 +6,7 @@ defmodule WorkloadService.Repo.Migrations.CreateTasks do
add(:id, :string, primary_key: true)
add(:org_id, :string, null: false)
add(:application_id, :string, null: false)
add(:policy_type, :string)
add(:task_info, :map, default: %{})
add(:submission, :map)
add(:attachments, {:array, :string}, default: [])
@@ -17,5 +18,6 @@ defmodule WorkloadService.Repo.Migrations.CreateTasks do
create(index(:tasks, [:application_id]))
create(index(:tasks, [:org_id]))
create(index(:tasks, [:status]))
create(index(:tasks, [:policy_type]))
end
end