Skip to content

Commit

Permalink
Use jsonb specifially as operation schema type
Browse files Browse the repository at this point in the history
  • Loading branch information
arbulu89 committed Jan 16, 2025
1 parent b89febe commit 0f1cd9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions priv/repo/migrations/20250109154813_add_operation.exs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ defmodule Wanda.Repo.Migrations.AddOperation do
add :group_id, :uuid, null: false
add :result, :string, null: false
add :status, :string, null: false
add :targets, :map, null: false, default: "[]"
add :agent_reports, :map, null: false, default: "[]"
add :targets, :jsonb, null: false, default: "[]"
add :agent_reports, :jsonb, null: false, default: "[]"
add :completed_at, :utc_datetime_usec
timestamps(type: :utc_datetime_usec, inserted_at: :started_at)
end
Expand Down

0 comments on commit 0f1cd9a

Please sign in to comment.