Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Add Spot ORM #796

Merged
merged 1 commit into from
Feb 1, 2016
Merged

Add Spot ORM #796

merged 1 commit into from
Feb 1, 2016

Conversation

urisavka
Copy link
Contributor

Adding Spot2 ORM support.

fzaninotto added a commit that referenced this pull request Feb 1, 2016
@fzaninotto fzaninotto merged commit e493d3d into fzaninotto:master Feb 1, 2016
@fzaninotto
Copy link
Owner

Thanks!

};
case 'integer':
return function () {
return mt_rand(0, intval('2147483647'));
Copy link
Contributor

Choose a reason for hiding this comment

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

Why don't you use $generator->numberBetween() here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copied it from Doctrine column type guesser. Will fix both today.

I think $generator->randomNumber(10); is even more correct solution here...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants