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

Added support for SERIAL primary keys #312

Merged
merged 3 commits into from
Aug 10, 2020
Merged

Added support for SERIAL primary keys #312

merged 3 commits into from
Aug 10, 2020

Conversation

mpscholten
Copy link
Member

UUIDs are still the default and recommended way for the id column. For cases where UUIDs don't work, you can now change the column type to SERIAL or BIGSERIAL to work with integers.

Fixes #302

UUIDs are still the default and recommended way for the id column. For cases where UUIDs don't work, you can now change the column type to SERIAL or BIGSERIAL to work with integers.
@mpscholten mpscholten requested review from hendi, ruhatch and a team August 9, 2020 12:58
Copy link
Contributor

@Laobiz Laobiz left a comment

Choose a reason for hiding this comment

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

Looks great! 👍

@Laobiz Laobiz merged commit 13511a3 into master Aug 10, 2020
@Laobiz Laobiz deleted the serial-pks branch August 10, 2020 06:24
@mpscholten
Copy link
Member Author

cc @Kaeptenblaubaer @andreasrueb SERIAL PKs are working now on master :)

mpscholten added a commit that referenced this pull request Aug 10, 2020
Add missing StandaloneDeriving to cabal default extensions
@mpscholten mpscholten mentioned this pull request Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SERIAL/BIGINT in SchemaCompiler
2 participants