Problem/Motivation
Creating a table with $schema['primary key'] = []; is broken on PostgreSQL.
Proposed resolution
Fix it!
This requires #2881522: Add a Schema::findPrimaryKeyColumns method to remove database specific logic from test for test coverage.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 2976493-6.patch | 2.29 KB | tstoeckler |
| #6 | 2976493-6--tests-only.patch | 1.52 KB | tstoeckler |
Comments
Comment #2
tstoecklerHere we go.
Comment #3
daffie commented#2881522: Add a Schema::findPrimaryKeyColumns method to remove database specific logic from test has landed. Started the testbot for the for humans patch.
Comment #5
daffie commentedComment #6
tstoecklerHere we go. Instead of actually rebasing, I just recreated the patch from scratch as it is so small, thus no interdiff for the test changes due to
findPrimaryKeyColumns()now being protected.Comment #7
daffie commentedLooks good to me.
The test only patch show that there is a bug and the full patch fixes that bug.
The code for this patch comes from is parent issue: #2881522: Add a Schema::findPrimaryKeyColumns method to remove database specific logic from test
For me it is RTBC.
Comment #8
alexpottCrediting @daffie for reviewing the issue.
Comment #9
alexpottCommitted c4923ea and pushed to 8.6.x. Thanks!