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

Primary key permission #288

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Primary key permission #288

wants to merge 3 commits into from

Conversation

fogelito
Copy link
Contributor

@fogelito fogelito commented Jul 4, 2023

We would like to changes in all _perms collection from using Varchar DocumentId => integer document id
For better performance and shrinking the index resources.
Since this is internal it would be relatively easier changes.

@abnegate
Copy link
Member

abnegate commented Aug 1, 2023

@fogelito What's the benefit of this change? Please add a description to the PR 🙏

@fogelito
Copy link
Contributor Author

fogelito commented Aug 1, 2023

We have a Benchmark for this on Asana

@abnegate
Copy link
Member

abnegate commented Aug 2, 2023

@fogelito Awesome let's add a migration PR in Appwrite for this as well

@fogelito
Copy link
Contributor Author

fogelito commented Aug 9, 2023

Still need to make changes here as in the update for example we need to pass the internal id after read the original doc.
Need to think the affect on relations as well.
Currently original values saved as well.

@abnegate
Copy link
Member

@fogelito Cool will mark this as draft for now 👌

@abnegate abnegate marked this pull request as draft August 10, 2023 22:06
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