[
  {
    "createIndexes": "growth_outcomes",
    "indexes": [
      { "key": { "owner_uid": 1, "sent_at": -1 }, "name": "owner_outcomes_recent" },
      { "key": { "owner_uid": 1, "source_type": 1, "source_id": 1 }, "name": "owner_outcome_source", "unique": true },
      { "key": { "status": 1, "window_ends_at": 1 }, "name": "outcome_observe" }
    ]
  },
  {
    "createIndexes": "growth_checkups",
    "indexes": [
      { "key": { "owner_uid": 1, "created_at": -1 }, "name": "owner_checkups_recent" },
      { "key": { "owner_uid": 1, "week_key": 1 }, "name": "owner_checkup_week" }
    ]
  },
  {
    "createIndexes": "growth_account_health",
    "indexes": [
      { "key": { "owner_uid": 1 }, "name": "owner_health" }
    ]
  },
  {
    "createIndexes": "growth_workspaces",
    "indexes": [
      { "key": { "owner_uid": 1, "archived": 1 }, "name": "owner_workspaces" }
    ]
  },
  {
    "createIndexes": "growth_draft_reviews",
    "indexes": [
      { "key": { "owner_uid": 1, "ref_type": 1, "ref_id": 1, "updated_at": -1 }, "name": "owner_review_ref" }
    ]
  },
  {
    "createIndexes": "growth_invite_rewards",
    "indexes": [
      { "key": { "inviter_uid": 1, "created_at": -1 }, "name": "inviter_rewards" },
      { "key": { "invitee_uid": 1 }, "name": "invitee_reward_once" }
    ]
  }
]
