-
Notifications
You must be signed in to change notification settings - Fork 49
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
base: 0.53.x
Are you sure you want to change the base?
Primary key bigint #482
Conversation
src/Database/Adapter/MariaDB.php
Outdated
@@ -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? |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 🤔
No description provided.