-
Notifications
You must be signed in to change notification settings - Fork 398
add INT8 to isNumber method #2018
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
base: master
Are you sure you want to change the base?
Conversation
add INT8 to isNumber method |
add microtime for primary key
Someone needs to confirm, but Can you please rebase you PR and look at the changes in the review? Thanks! |
@@ -12,6 +12,9 @@ public function preSave(?ConnectionInterface $con = null): bool | |||
return parent::preSave($con); | |||
} | |||
<?php endif?> | |||
if ($this->isNew() && !$this->getId()) { |
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.
These 3 lines seem to have been added to your commit by mistake. If so, can you please remove it?
@@ -777,7 +777,7 @@ public function isString(string $type): bool | |||
*/ | |||
public function isNumber(string $type): bool | |||
{ | |||
$numbers = ['INTEGER', 'INT4', 'INT2', 'NUMBER', 'NUMERIC', 'SMALLINT', 'BIGINT', 'DECIMAL', 'REAL', 'DOUBLE PRECISION', 'SERIAL', 'BIGSERIAL']; | |||
$numbers = ['INTEGER', 'INT4', 'INT2','INT8', 'NUMBER', 'NUMERIC', 'SMALLINT', 'BIGINT', 'DECIMAL', 'REAL', 'DOUBLE PRECISION', 'SERIAL', 'BIGSERIAL']; |
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.
Can you please add a space before 'INT8'
(like the other values have)? Thanks!
No description provided.