Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify model_key_prefix default #522

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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:

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.

None yet

1 participant