fix query helpers and add policy type to projections
All checks were successful
Build and Publish / build-release (push) Successful in 1m34s
All checks were successful
Build and Publish / build-release (push) Successful in 1m34s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user