René's URL Explorer Experiment


Title: Add opt-in shortening of aliases over the database identifier limit by nicosp · Pull Request #19769 · cakephp/cakephp · GitHub

Open Graph Title: Add opt-in shortening of aliases over the database identifier limit by nicosp · Pull Request #19769 · cakephp/cakephp

X Title: Add opt-in shortening of aliases over the database identifier limit by nicosp · Pull Request #19769 · cakephp/cakephp

Description: CakePHP: The Rapid Development Framework for PHP - Official Repository - Add opt-in shortening of aliases over the database identifier limit by nicosp · Pull Request #19769 · cakephp/cakephp

Open Graph Description: Postgres truncates identifiers longer than 63 bytes. The ORM builds column aliases as Alias__column, so long table or association aliases can produce aliases that get truncated: Two aliases that s...

X Description: Postgres truncates identifiers longer than 63 bytes. The ORM builds column aliases as Alias__column, so long table or association aliases can produce aliases that get truncated: Two aliases that s...

Opengraph URL: https://github.com/cakephp/cakephp/pull/19769

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:58e02f18-8aa8-cae7-462d-6d72e4313cde
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBEC0:1B36E7:845C9:B1390:6AFD3DA5
html-safe-nonce3d8d6c0a9921557f093e4c0b67b7882d3180b1155448b4d587425021da6ad3b7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUMwOjFCMzZFNzo4NDVDOTpCMTM5MDo2QUZEM0RBNSIsInZpc2l0b3JfaWQiOiIyNTUzNzUyMDYyMzg2ODQ3MTQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0835460a2acedb7ca1ae021b7afc3c3cfc2b27b158927b1469c7e54a487027cb
hovercard-subject-tagpull_request:5156193189
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/cakephp/cakephp/19769/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6561b950bea1a0a20d654f4d1a4d82c277e769982d711ff2118dad8458f38762/cakephp/cakephp/pull/19769
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6561b950bea1a0a20d654f4d1a4d82c277e769982d711ff2118dad8458f38762/cakephp/cakephp/pull/19769
og:image:altPostgres truncates identifiers longer than 63 bytes. The ORM builds column aliases as Alias__column, so long table or association aliases can produce aliases that get truncated: Two aliases that s...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenicosp
hostnamegithub.com
expected-hostnamegithub.com
Nonebdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474
turbo-cache-controlno-cache
go-importgithub.com/cakephp/cakephp git https://github.com/cakephp/cakephp.git
octolytics-dimension-user_id23666
octolytics-dimension-user_logincakephp
octolytics-dimension-repository_id656494
octolytics-dimension-repository_nwocakephp/cakephp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id656494
octolytics-dimension-repository_network_root_nwocakephp/cakephp
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release556dd37bb0aceffb25724e151b5d858b3265b40b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/cakephp/cakephp/pull/19769#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcakephp%2Fcakephp%2Fpull%2F19769
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcakephp%2Fcakephp%2Fpull%2F19769
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=cakephp%2Fcakephp
Reloadhttps://github.com/cakephp/cakephp/pull/19769
Reloadhttps://github.com/cakephp/cakephp/pull/19769
Reloadhttps://github.com/cakephp/cakephp/pull/19769
cakephphttps://github.com/cakephp
cakephphttps://github.com/cakephp/cakephp
Codehttps://github.com/cakephp/cakephp
Issues13 (13)https://github.com/cakephp/cakephp/issues
Pull requests16 (16)https://github.com/cakephp/cakephp/pulls
Actionshttps://github.com/cakephp/cakephp/actions
Projectshttps://github.com/cakephp/cakephp/projects
Wikihttps://github.com/cakephp/cakephp/wiki
Security and quality6 (6)https://github.com/cakephp/cakephp/security
Insightshttps://github.com/cakephp/cakephp/insights
https://github.com/cakephp/cakephp
nicosphttps://github.com/nicosp
cakephp:5.nexthttps://github.com/cakephp/cakephp/tree/5.next
QoboLtd:long-alias-shorteninghttps://github.com/QoboLtd/cakephp/tree/long-alias-shortening
Conversationhttps://github.com/cakephp/cakephp/pull/19769
Commits6 (6)https://github.com/cakephp/cakephp/pull/19769/commits
Checkshttps://github.com/cakephp/cakephp/pull/19769/checks
Files changedhttps://github.com/cakephp/cakephp/pull/19769/files
Add opt-in shortening of aliases over the database identifier limithttps://github.com/cakephp/cakephp/pull/19769#top
nicosphttps://github.com/nicosp
cakephp:5.nexthttps://github.com/cakephp/cakephp/tree/5.next
QoboLtd:long-alias-shorteninghttps://github.com/QoboLtd/cakephp/tree/long-alias-shortening
https://github.com/nicosp
nicosphttps://github.com/nicosp
Nov 4, 2026https://github.com/cakephp/cakephp/pull/19769#issue-6205011260
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19769
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19769
https://github.com/nicosp
Add opt-in shortening of aliases over the database identifier limithttps://github.com/cakephp/cakephp/pull/19769/commits/b40c2e24f5b53efeb87cb5e1182599b6961fd682
b40c2e2https://github.com/cakephp/cakephp/pull/19769/commits/b40c2e24f5b53efeb87cb5e1182599b6961fd682
https://github.com/nicosp
nicosphttps://github.com/nicosp
force-pushedhttps://github.com/cakephp/cakephp/compare/f40fab9a8d056f84296238ca720a0273d077b574..b40c2e24f5b53efeb87cb5e1182599b6961fd682
f40fab9https://github.com/cakephp/cakephp/commit/f40fab9a8d056f84296238ca720a0273d077b574
b40c2e2https://github.com/cakephp/cakephp/commit/b40c2e24f5b53efeb87cb5e1182599b6961fd682
Compare https://github.com/cakephp/cakephp/compare/f40fab9a8d056f84296238ca720a0273d077b574..b40c2e24f5b53efeb87cb5e1182599b6961fd682
November 4, 2026 14:45https://github.com/cakephp/cakephp/pull/19769#event-35139826283
https://github.com/nicosp
Fix psalm error and shortener tests with auto quoting enabledhttps://github.com/cakephp/cakephp/pull/19769/commits/e5a4c8e074157466811d0f2a753ebd14df4dc0da
e5a4c8ehttps://github.com/cakephp/cakephp/pull/19769/commits/e5a4c8e074157466811d0f2a753ebd14df4dc0da
https://github.com/markstory
markstoryhttps://github.com/markstory
5.5.0https://github.com/cakephp/cakephp/milestone/357
Nov 5, 2026https://github.com/cakephp/cakephp/pull/19769#event-35204517969
https://github.com/markstory
markstoryhttps://github.com/markstory
postgres https://github.com/cakephp/cakephp/issues?q=state%3Aopen%20label%3Apostgres
database https://github.com/cakephp/cakephp/issues?q=state%3Aopen%20label%3Adatabase
Nov 5, 2026https://github.com/cakephp/cakephp/pull/19769#event-35204525441
https://github.com/markstory
markstoryhttps://github.com/markstory
Nov 5, 2026 https://github.com/cakephp/cakephp/pull/19769#pullrequestreview-5779972054
View reviewed changes https://github.com/cakephp/cakephp/pull/19769/files/e5a4c8e074157466811d0f2a753ebd14df4dc0da
src/Database/IdentifierShortener.phphttps://github.com/cakephp/cakephp/pull/19769/files/e5a4c8e074157466811d0f2a753ebd14df4dc0da#diff-fbaec50a1175e08a5cbbba0bf7f0f8900bca4705f66db9956f45bebaafbbdae9
markstoryhttps://github.com/markstory
Nov 5, 2026https://github.com/cakephp/cakephp/pull/19769#discussion_r4476687108
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19769
nicosphttps://github.com/nicosp
Nov 5, 2026https://github.com/cakephp/cakephp/pull/19769#discussion_r4478722109
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19769
src/Database/IdentifierShortener.phphttps://github.com/cakephp/cakephp/pull/19769/files/e5a4c8e074157466811d0f2a753ebd14df4dc0da#diff-fbaec50a1175e08a5cbbba0bf7f0f8900bca4705f66db9956f45bebaafbbdae9
markstoryhttps://github.com/markstory
Nov 5, 2026https://github.com/cakephp/cakephp/pull/19769#discussion_r4476690415
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19769
nicosphttps://github.com/nicosp
Nov 5, 2026https://github.com/cakephp/cakephp/pull/19769#discussion_r4478722580
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19769
src/Database/IdentifierShortener.phphttps://github.com/cakephp/cakephp/pull/19769/files/e5a4c8e074157466811d0f2a753ebd14df4dc0da#diff-fbaec50a1175e08a5cbbba0bf7f0f8900bca4705f66db9956f45bebaafbbdae9
markstoryhttps://github.com/markstory
Nov 5, 2026https://github.com/cakephp/cakephp/pull/19769#discussion_r4476735434
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19769
nicosphttps://github.com/nicosp
Nov 5, 2026https://github.com/cakephp/cakephp/pull/19769#discussion_r4478723040
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19769
tests/TestCase/Database/IdentifierShortenerTest.phphttps://github.com/cakephp/cakephp/pull/19769/files/e5a4c8e074157466811d0f2a753ebd14df4dc0da#diff-7b34d2c51669ee98c7f0c51bd151488ab3ba2c575481b8198c7d7a4f3bd8c7ba
markstoryhttps://github.com/markstory
Nov 5, 2026https://github.com/cakephp/cakephp/pull/19769#discussion_r4476764573
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19769
nicosphttps://github.com/nicosp
Nov 5, 2026https://github.com/cakephp/cakephp/pull/19769#discussion_r4478723508
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19769
nicosphttps://github.com/nicosp
November 5, 2026 11:21https://github.com/cakephp/cakephp/pull/19769#commits-pushed-fb1e9c4
https://github.com/nicosp
Keep comments and string literals intact when shortening identifiershttps://github.com/cakephp/cakephp/pull/19769/commits/fb1e9c45fa8657f3a744b05ebd1f0d689122dd8e
fb1e9c4https://github.com/cakephp/cakephp/pull/19769/commits/fb1e9c45fa8657f3a744b05ebd1f0d689122dd8e
https://github.com/nicosp
Shorten identifiers over 64 characters on MySQLhttps://github.com/cakephp/cakephp/pull/19769/commits/5cf8076879055ebaed2467dcfc45695c6a56466e
5cf8076https://github.com/cakephp/cakephp/pull/19769/commits/5cf8076879055ebaed2467dcfc45695c6a56466e
https://github.com/nicosp
Skip long name tests on databases without CTEs or named windowshttps://github.com/cakephp/cakephp/pull/19769/commits/262da84eeea47a36f59cde665c25c732a5b80fdc
262da84https://github.com/cakephp/cakephp/pull/19769/commits/262da84eeea47a36f59cde665c25c732a5b80fdc
https://github.com/nicosp
Restore shortened column aliases in rows fetched as objectshttps://github.com/cakephp/cakephp/pull/19769/commits/20cb3c2cc9b2a65d02022c2aedb4fff0c300dfb9
20cb3c2https://github.com/cakephp/cakephp/pull/19769/commits/20cb3c2cc9b2a65d02022c2aedb4fff0c300dfb9
https://github.com/nicosp
nicosphttps://github.com/nicosp
markstoryhttps://github.com/markstory
November 11, 2026 07:27https://github.com/cakephp/cakephp/pull/19769#event-35772171814
https://github.co/hiddenchars
https://github.com/cakephp/cakephp/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcakephp%2Fcakephp%2Fpull%2F19769
https://github.com/markstory
markstory https://github.com/markstory
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19769
database https://github.com/cakephp/cakephp/issues?q=state%3Aopen%20label%3Adatabase
postgres https://github.com/cakephp/cakephp/issues?q=state%3Aopen%20label%3Apostgres
5.5.0 https://github.com/cakephp/cakephp/milestone/357
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19769
https://github.com/nicosp
https://github.com/markstory
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.