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

Feature request: GUIDs as primary keys #721

Closed
ghballiet opened this issue Aug 6, 2013 · 1 comment
Closed

Feature request: GUIDs as primary keys #721

ghballiet opened this issue Aug 6, 2013 · 1 comment

Comments

@ghballiet
Copy link

I prefer to use GUIDs instead of integer primary keys in my apps, and I'd like to be able to do this within Sails. This is definitely lower priority than, say, associations, but I don't believe I'm the only one who uses this, either (see: http://www.codinghorror.com/blog/2007/03/primary-keys-ids-versus-guids.html).

@particlebanana
Copy link
Contributor

I've though of this before and looked into adding it as a config option somewhere when I was building Waterline but forgot about it. Can you move this issue to the Waterline Repo as it belongs there more than Sails.

I'll try to add this as an option sometime.

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

No branches or pull requests

2 participants