8000 V19 migration by fogelito · Pull Request #5668 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

V19 migration #5668

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

Merged
merged 16 commits into from
Jun 21, 2023
Merged

V19 migration #5668

merged 16 commits into from
Jun 21, 2023

Conversation

fogelito
Copy link
Contributor
@fogelito fogelito commented Jun 6, 2023

Migration script for _perms tables
For better match index

@fogelito fogelito requested a review from abnegate June 6, 2023 15:49

protected function alterPermissionIndex($collectionName): void
{
$collectionName = "`{$this->projectDB->getDefaultDatabase()}`.`_{$this->project->getInternalId()}_{$collectionName}_perms`";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this or can we use the parameter?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that we are doing the alter in a single transaction I can put it inline.
Done!

@abnegate abnegate changed the base branch from master to 1.4.x June 21, 2023 03:53
fogelito and others added 2 commits June 21, 2023 09:43
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
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
0