Skip to content

Add UUID support for _id field #1621

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

Closed
altaraven opened this issue Oct 8, 2018 · 4 comments
Closed

Add UUID support for _id field #1621

altaraven opened this issue Oct 8, 2018 · 4 comments
Labels

Comments

@altaraven
Copy link

Please make it possible to use UUID as primary key. For example, doctrine can do this via annotations

/** @Id(strategy="UUID", type="string") */
private $id;
@mfauveau
Copy link
Contributor

mfauveau commented Oct 9, 2018

Hi @altaraven,

I made some modifications to be able to do just that. See this PR #1611.

@altaraven
Copy link
Author

Hello @mfauveau. Yes, I saw your PR. I just hope that package author will accept it or write his own. I also didn't get why you used Binary and not simple string

@Smolevich
Copy link
Contributor

@divine
Copy link
Contributor

divine commented Feb 15, 2020

Closing, merged in #1611

@divine divine closed this as completed Feb 15, 2020
@divine divine added the feature label Feb 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants