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 bigint #482

Open
wants to merge 5 commits into
base: 0.53.x
Choose a base branch
from
Open

Primary key bigint #482

wants to merge 5 commits into from

Conversation

fogelito
Copy link
Contributor

No description provided.

@@ -215,6 +215,7 @@ public function createCollection(string $name, array $attributes = [], array $in
} catch (PDOException $e) {
$e = $this->processException($e);

// Can we remove drop perms table?
Copy link
Member

Choose a reason for hiding this comment

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

Please open these questions as comments on the PR or linear so we don't need code changes to remove them if there's no change to resolve 👍

For this case, why would we remove it? Wouldn't it result in leftover data?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure will open comment comment next time 👍
Not sure if this can happen but , Trying to creat an existing collection will trigger a duplication exeption?

Copy link
Member

Choose a reason for hiding this comment

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

I think this case will never actually happen unless you call createCollection directly on the adapter instead of Database, since database already does a duplicate check and throws the exception there 🤔

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