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

Create tables with unique constraints on PostgreSQL #4677

Conversation

hschletz
Copy link
Contributor

Q A
Type bug
BC Break no
Fixed issues

Summary

PostgreSQL94Platform::_getCreateTableSQL() ignored unique constraints.
Implementations for other platforms are OK.

Copy link
Member

@morozov morozov left a comment

Choose a reason for hiding this comment

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

Looks good. Just a tiny nitpick inline.

src/Platforms/PostgreSQL94Platform.php Outdated Show resolved Hide resolved
@hschletz hschletz force-pushed the create-unique-constraints-with-table-postqresql branch from 49e4a1b to 7c226f4 Compare June 29, 2021 17:59
@morozov
Copy link
Member

morozov commented Jun 29, 2021

The SQL Server build failure should be fixed after merging and up-merging #4694. Otherwise, looks good.

PostgreSQL94Platform::_getCreateTableSQL() ignored unique constraints.
Implementations for other platforms are OK.
@morozov morozov force-pushed the create-unique-constraints-with-table-postqresql branch from 7c226f4 to 998284f Compare June 29, 2021 19:28
@morozov morozov merged commit 7dab377 into doctrine:3.1.x Jun 29, 2021
@morozov morozov added this to the 3.1.2 milestone Jun 29, 2021
@morozov
Copy link
Member

morozov commented Jun 29, 2021

Thanks, @hschletz.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants