Skip to content

Conversation

@frozenBranch
Copy link

I'm proposing this change to make sure that the default value for model_key_prefix is useful for non-advanced users.
Currently the model_key_prefix default value includes the modules path, which is inconvinient if the path of the model changes (could be the file name or some parent folder).

This change would make it a bit more similar to how traditional SQL ORM's handle table names, the index name by default would just be :ModelName:

@abrookins
Copy link
Collaborator

Closing this PR due to staleness (18 months). The feature request is now tracked in #741.

Thank you @frozenBranch for raising this! The simplification makes sense, but it's a breaking change that needs careful consideration around migration paths and potential name collisions.

See #741 for continued discussion.

@abrookins abrookins closed this Dec 24, 2025
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.

2 participants