René's URL Explorer Experiment


Title: fix(db): make development schema pushes noninteractive by icecrasher321 · Pull Request #7906 · simstudioai/sim · GitHub

Open Graph Title: fix(db): make development schema pushes noninteractive by icecrasher321 · Pull Request #7906 · simstudioai/sim

X Title: fix(db): make development schema pushes noninteractive by icecrasher321 · Pull Request #7906 · simstudioai/sim

Description: Summary Make development db:push treat additions and removals as separate creations/deletions across columns, tables, schemas, and other named objects. A version-pinned Drizzle CLI patch supplies this policy through the existing rename resolvers. Add --interactive-renames for intentional local renames using Drizzle’s native chooser. It requires a terminal; --force still controls data-loss approval independently. Return nonzero on PostgreSQL push errors or cancellation, so reconciliation and deployment stop immediately. Remove the schema-specific preparation step and CI log-text workaround. Document usage and patch maintenance in the existing contributor and patch guides. Keep staging and production on versioned migrations. Type of Change Bug fix Testing 28 targeted tests passed: seven PostgreSQL CLI tests, seven push orchestration tests, six workflow tests, six database URL tests, and two existing index-diff tests. Tested the actual wrapper in a terminal: an intentional rename preserved the stored value; cancelling a destructive push preserved the schema and skipped reconciliation. Frozen dependency install, database workspace and push-script TypeScript checks, API validation, Biome, migration safety check, and git diff --check passed. Tests used disposable local PostgreSQL fixtures. No deployed database was modified. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Make development db:push treat additions and removals as separate creations/deletions across columns, tables, schemas, and other named objects. A version-pinned Drizzle CLI patch supplies ...

X Description: Summary Make development db:push treat additions and removals as separate creations/deletions across columns, tables, schemas, and other named objects. A version-pinned Drizzle CLI patch supplies ...

Opengraph URL: https://github.com/simstudioai/sim/pull/7906

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:fe4a614d-355b-039a-f7cc-893b89f8da38
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB7C4:3E7424:BCD8F9:10AF5FC:6AFB5C6C
html-safe-noncec340738055a93c39af302a8dd6ce16be9cbaa17f8e7b130c84ee92f139f2f032
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0M0OjNFNzQyNDpCQ0Q4Rjk6MTBBRjVGQzo2QUZCNUM2QyIsInZpc2l0b3JfaWQiOiI2MzU5MTg4Mjg0NTkyODM5Nzg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace46beb7ad6577d5401947cf4236f9d05a3bd24a1c3606169d13c7f8772d2607b
hovercard-subject-tagpull_request:4553624269
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/7906/files
twitter:imagehttps://avatars.githubusercontent.com/u/17950982?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/17950982?s=400&v=4
og:image:altSummary Make development db:push treat additions and removals as separate creations/deletions across columns, tables, schemas, and other named objects. A version-pinned Drizzle CLI patch supplies ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/7906/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7906%2Ffiles
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%2Fsimstudioai%2Fsim%2Fpull%2F7906%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/7906/files
Reloadhttps://github.com/simstudioai/sim/pull/7906/files
Reloadhttps://github.com/simstudioai/sim/pull/7906/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
icecrasher321https://github.com/icecrasher321
devhttps://github.com/simstudioai/sim/tree/dev
codex/fix-dev-schema-deploymenthttps://github.com/simstudioai/sim/tree/codex/fix-dev-schema-deployment
Conversation 26 https://github.com/simstudioai/sim/pull/7906
Commits 3 https://github.com/simstudioai/sim/pull/7906/commits
Checks 42 https://github.com/simstudioai/sim/pull/7906/checks
Files changed https://github.com/simstudioai/sim/pull/7906/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7906/files
fix(db): make development schema pushes noninteractive https://github.com/simstudioai/sim/pull/7906/files#top
Show all changes 3 commits https://github.com/simstudioai/sim/pull/7906/files
48e542c fix(db): resolve dev schema push column ambiguity Sep 17, 2026 https://github.com/simstudioai/sim/pull/7906/commits/48e542c6dc29c0fbc8562a387cb4b866733a781a
e28acbe refactor(db): generalize push rename handling Sep 17, 2026 https://github.com/simstudioai/sim/pull/7906/commits/e28acbe2006e74178c1b0c0030673fe7a7b5fe32
d99e68f docs(db): describe schema push reconciliation steps Sep 17, 2026 https://github.com/simstudioai/sim/pull/7906/commits/d99e68fdb7df5df7ab811a0c551066367e77cdd1
Clear filters https://github.com/simstudioai/sim/pull/7906/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7906/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7906/files
CONTRIBUTING.md https://github.com/simstudioai/sim/pull/7906/files#diff-98e64bc1cd2db9333c6effe87bbe0d6dfe8714aba4c6bde45aa037fe0796e44c
migrations.yml https://github.com/simstudioai/sim/pull/7906/files#diff-8e26a09e47acf0fe9e6adcfd8f42b4e7cf3c66011d46d32ba8fbbab397fd88d8
bun.lock https://github.com/simstudioai/sim/pull/7906/files#diff-bfd0ef82a01108fa1e836c2500b98b7de8a92bb1ae352a8efcbd9d6ffcaabd60
package.json https://github.com/simstudioai/sim/pull/7906/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
package.json https://github.com/simstudioai/sim/pull/7906/files#diff-c89735ad606b83e822d493ca765a37afb7fcd2e5621f828a2cfc984ed5e67367
database-url.ts https://github.com/simstudioai/sim/pull/7906/files#diff-0d7ebde889fcfea7c3581e9dec222188eb6c5ce96219f149ca7298416ecb3789
push.postgres.test.ts https://github.com/simstudioai/sim/pull/7906/files#diff-f200c6706d17765fd858e6aee59cb7426fabbddc5c727503606d1c481707f201
push.test.ts https://github.com/simstudioai/sim/pull/7906/files#diff-eabd820bfe82986531b81fdd4a0fc052c7b3b499b568ad5cf47a048b22522e85
push.ts https://github.com/simstudioai/sim/pull/7906/files#diff-1cea81461793525069fcd588c91151e4913e3557208c7c31bb416794e6e76f30
README.md https://github.com/simstudioai/sim/pull/7906/files#diff-2f6cada697a2dedd209c80776de7abbdac6caa3e2b935afa20ff149df2e8cda2
drizzle-kit@0.31.10.patch https://github.com/simstudioai/sim/pull/7906/files#diff-b95398b3ec9b767ade7d4f11b930cb55d0f0033bf09a099281ff84fc58889ced
migrations-workflow.test.ts https://github.com/simstudioai/sim/pull/7906/files#diff-48a93592a1cbc7e726339e154d84c5fd3f6bf9aa8e6c5d37bc597d525dc38a6a
.github/CONTRIBUTING.mdhttps://github.com/simstudioai/sim/pull/7906/files#diff-98e64bc1cd2db9333c6effe87bbe0d6dfe8714aba4c6bde45aa037fe0796e44c
View file https://github.com/simstudioai/sim/blob/d99e68fdb7df5df7ab811a0c551066367e77cdd1/.github/CONTRIBUTING.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7906/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7906/files#diff-98e64bc1cd2db9333c6effe87bbe0d6dfe8714aba4c6bde45aa037fe0796e44c
https://github.com/simstudioai/sim/pull/7906/files#diff-98e64bc1cd2db9333c6effe87bbe0d6dfe8714aba4c6bde45aa037fe0796e44c
.github/workflows/migrations.ymlhttps://github.com/simstudioai/sim/pull/7906/files#diff-8e26a09e47acf0fe9e6adcfd8f42b4e7cf3c66011d46d32ba8fbbab397fd88d8
View file https://github.com/simstudioai/sim/blob/d99e68fdb7df5df7ab811a0c551066367e77cdd1/.github/workflows/migrations.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7906/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7906/files#diff-8e26a09e47acf0fe9e6adcfd8f42b4e7cf3c66011d46d32ba8fbbab397fd88d8
https://github.com/simstudioai/sim/pull/7906/files#diff-8e26a09e47acf0fe9e6adcfd8f42b4e7cf3c66011d46d32ba8fbbab397fd88d8
https://github.com/simstudioai/sim/blob/dev/.github/CODEOWNERS#L38
bun.lockhttps://github.com/simstudioai/sim/pull/7906/files#diff-bfd0ef82a01108fa1e836c2500b98b7de8a92bb1ae352a8efcbd9d6ffcaabd60
View file https://github.com/simstudioai/sim/blob/d99e68fdb7df5df7ab811a0c551066367e77cdd1/bun.lock
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/simstudioai/sim/pull/7906/files
https://github.com/simstudioai/sim/blob/dev/.github/CODEOWNERS#L36
package.jsonhttps://github.com/simstudioai/sim/pull/7906/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
View file https://github.com/simstudioai/sim/blob/d99e68fdb7df5df7ab811a0c551066367e77cdd1/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7906/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7906/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/simstudioai/sim/blob/dev/.github/CODEOWNERS#L36
packages/db/package.jsonhttps://github.com/simstudioai/sim/pull/7906/files#diff-c89735ad606b83e822d493ca765a37afb7fcd2e5621f828a2cfc984ed5e67367
View file https://github.com/simstudioai/sim/blob/d99e68fdb7df5df7ab811a0c551066367e77cdd1/packages/db/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7906/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7906/files#diff-c89735ad606b83e822d493ca765a37afb7fcd2e5621f828a2cfc984ed5e67367
https://github.com/simstudioai/sim/pull/7906/files#diff-c89735ad606b83e822d493ca765a37afb7fcd2e5621f828a2cfc984ed5e67367
packages/db/script-migrations/database-url.tshttps://github.com/simstudioai/sim/pull/7906/files#diff-0d7ebde889fcfea7c3581e9dec222188eb6c5ce96219f149ca7298416ecb3789
View file https://github.com/simstudioai/sim/blob/d99e68fdb7df5df7ab811a0c551066367e77cdd1/packages/db/script-migrations/database-url.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7906/{{ revealButtonHref }}
packages/db/scripts/push.postgres.test.tshttps://github.com/simstudioai/sim/pull/7906/files#diff-f200c6706d17765fd858e6aee59cb7426fabbddc5c727503606d1c481707f201
View file https://github.com/simstudioai/sim/blob/d99e68fdb7df5df7ab811a0c551066367e77cdd1/packages/db/scripts/push.postgres.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7906/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/7906/files
packages/db/scripts/push.test.tshttps://github.com/simstudioai/sim/pull/7906/files#diff-eabd820bfe82986531b81fdd4a0fc052c7b3b499b568ad5cf47a048b22522e85
View file https://github.com/simstudioai/sim/blob/d99e68fdb7df5df7ab811a0c551066367e77cdd1/packages/db/scripts/push.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7906/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/7906/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7906/files
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.