migrateSlugAndOrgUrlKey
Ensures that the orgUrlKey and slug fields of the entity are lowercase. Used in migrations to address a bug with orgs with mixed case orgUrlKeys.
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
slug Required | string | ||
orgUrlKey Required | string | ||
typeKeywords Required | string[] |
Returns
{
- orgUrlKey:
- string
- slug:
- string
- typeKeywords:
- string[]
Function defined in common/src/core/_internal/sharedMigrations.ts:7