Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

switch to immutable primary keys #3617

Closed
chadwhitacre opened this issue Jul 13, 2015 · 1 comment
Closed

switch to immutable primary keys #3617

chadwhitacre opened this issue Jul 13, 2015 · 1 comment
Labels

Comments

@chadwhitacre
Copy link
Contributor

For a couple tables we're using mutable strings for primary key (participants.username and teams.slug). This makes it easier to debug things because you don't have to dereference opaque numeric ids when querying other tables, but it's rather non-standard and might potentially lead to real trouble. Should we switch over to bigserials like the rest of the world?

@chadwhitacre
Copy link
Contributor Author

Closing as a dupe of #835.

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

No branches or pull requests

1 participant