Skip to content

refactor(organization): rename slug field to identifier#225

Merged
briangreunke merged 1 commit into
mainfrom
brian/eng-3550-feat-sdk-updates
Nov 14, 2025
Merged

refactor(organization): rename slug field to identifier#225
briangreunke merged 1 commit into
mainfrom
brian/eng-3550-feat-sdk-updates

Conversation

@briangreunke
Copy link
Copy Markdown
Contributor

@briangreunke briangreunke commented Nov 14, 2025

Summary

This PR renames the slug field to identifier within the Organization model to better reflect its purpose as a unique, URL-friendly identifier.

Conventional Commit Breakdown

  • Type: refactor
  • Scope: organization
  • Subject: rename slug field to identifier

Key Changes

  • Updated dreadnode/api/models.py:
    • Renamed the slug field to identifier in the Organization model.
    • Updated the docstring for the renamed field to reflect its new name and purpose.

Testing/Verification

Tested locally by running against dev env

Generated Summary:

  • Changed the field name from slug to identifier in the Organization model.
  • Updated the docstring to reflect the new field name, clarifying its purpose as a URL-friendly identifier.
  • This change may impact any existing database migrations or API references that utilize the slug field, necessitating updates in related components.

This summary was generated with ❤️ by rigging

@briangreunke briangreunke merged commit 3348ca9 into main Nov 14, 2025
9 checks passed
@briangreunke briangreunke deleted the brian/eng-3550-feat-sdk-updates branch November 14, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant