René's URL Explorer Experiment


Title: [Feature] Add Migration Support for MSSQL · Issue #29 · sqlpage/sqlx-oldapi · GitHub

Open Graph Title: [Feature] Add Migration Support for MSSQL · Issue #29 · sqlpage/sqlx-oldapi

X Title: [Feature] Add Migration Support for MSSQL · Issue #29 · sqlpage/sqlx-oldapi

Description: Is your feature request related to a problem? Please describe. Migrations are a valuable feature for managing database schemas, but the lack of MSSQL support in the main sqlx crate means users of sqlx_oldapi miss out on this functionalit...

Open Graph Description: Is your feature request related to a problem? Please describe. Migrations are a valuable feature for managing database schemas, but the lack of MSSQL support in the main sqlx crate means users of s...

X Description: Is your feature request related to a problem? Please describe. Migrations are a valuable feature for managing database schemas, but the lack of MSSQL support in the main sqlx crate means users of s...

Opengraph URL: https://github.com/sqlpage/sqlx-oldapi/issues/29

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Feature] Add Migration Support for MSSQL","articleBody":"**Is your feature request related to a problem? Please describe.**\n\nMigrations are a valuable feature for managing database schemas, but the lack of MSSQL support in the main sqlx crate means users of sqlx_oldapi miss out on this functionality. This creates challenges in achieving feature parity with other supported databases.\n\n**Describe the solution you'd like**\n\nI would like to confirm if implementing the `MigrateDatabase` and `Migrate` traits is sufficient to enable migration support for the MSSQL backend.\n\nA secondary component would be potentially enabling the macro support for `migrate!()` though I've not looked into if it uses the same underlying implementation as of yet.\n\nIf so, I'm happy to contribute an implementation, along with any necessary tests. \nI understand that testing for MSSQL can be troublesome at the best of time- and am aware it also  partially contributed to its removal from upstream. That being said- I'm down to give it a crack + any creating tests if/as needed.\n\n\n**Describe alternatives you've considered**\n\nNone applicable, upstream sqlx dropped MSSQL support some time ago.\n\n**Additional context**\n\nThe goal is to enable code like the following:\n\n```Rust\n        let (connection_timeout, idle_timeout, max_lifetime) = Self::pool_opts(config);\n\n        let client = sqlx::mssql::MssqlPoolOptions::new()\n            .idle_timeout(idle_timeout)\n            .max_connections(config.db_pool_total_connections() as u32)\n            .max_lifetime(max_lifetime)\n            .acquire_timeout(connection_timeout)\n            .connect(\u0026Self::format_connection_string(config)?)\n            .await?;\n\n        let migrator = sqlx::migrate::Migrator::new(std::path::Path::new(\"../../migrations\"))\n            .await?;\n        migrator.run(\u0026client).await?;\n```\n\nCurrently, this fails because the MSSQL implementation lacks the Migrate trait, which is required by run_direct (expecting C: Migrate).\n\nI'm eager to attempt this implementation, though I note that I have no prior experience with database backend implementations.","author":{"url":"https://github.com/MrDwarf7","@type":"Person","name":"MrDwarf7"},"datePublished":"2025-07-18T05:35:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/29/sqlx-oldapi/issues/29"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d6e04844-a17d-8862-d952-bb37b2b24ecf
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8980:45430:151A06D:1C12E3E:6A5F0417
html-safe-noncec3d1eb924dc8bc5faf7ee89465b01d33c8aa9a852570cf5a41b8f21d0237047c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTgwOjQ1NDMwOjE1MUEwNkQ6MUMxMkUzRTo2QTVGMDQxNyIsInZpc2l0b3JfaWQiOiIzMTUxMjc4MzcwODQxMzYzNDc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7bba1190bb4a661838a86e95d1180514838bddf8499777ee75800e045176248a
hovercard-subject-tagissue:3241934259
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sqlpage/sqlx-oldapi/29/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b242ea650e4a2adff1f3ad38f569588a0693ea3be80a8757d57b5c539cc1fc60/sqlpage/sqlx-oldapi/issues/29
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b242ea650e4a2adff1f3ad38f569588a0693ea3be80a8757d57b5c539cc1fc60/sqlpage/sqlx-oldapi/issues/29
og:image:altIs your feature request related to a problem? Please describe. Migrations are a valuable feature for managing database schemas, but the lack of MSSQL support in the main sqlx crate means users of s...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMrDwarf7
hostnamegithub.com
expected-hostnamegithub.com
Nonebf8fa4b42b6d150def6175efb9b0f1ec8e9628d7229ee2bdf6e850e7bdad923e
turbo-cache-controlno-preview
go-importgithub.com/sqlpage/sqlx-oldapi git https://github.com/sqlpage/sqlx-oldapi.git
octolytics-dimension-user_id184309384
octolytics-dimension-user_loginsqlpage
octolytics-dimension-repository_id498447897
octolytics-dimension-repository_nwosqlpage/sqlx-oldapi
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id230595891
octolytics-dimension-repository_parent_nwotransact-rs/sqlx
octolytics-dimension-repository_network_root_id230595891
octolytics-dimension-repository_network_root_nwotransact-rs/sqlx
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
release7debc3c6cd5de09c6e22b47a1b9982acb2aabb7b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sqlpage/sqlx-oldapi/issues/29#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlpage%2Fsqlx-oldapi%2Fissues%2F29
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlpage%2Fsqlx-oldapi%2Fissues%2F29
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=sqlpage%2Fsqlx-oldapi
Reloadhttps://github.com/sqlpage/sqlx-oldapi/issues/29
Reloadhttps://github.com/sqlpage/sqlx-oldapi/issues/29
Reloadhttps://github.com/sqlpage/sqlx-oldapi/issues/29
Please reload this pagehttps://github.com/sqlpage/sqlx-oldapi/issues/29
sqlpage https://github.com/sqlpage
sqlx-oldapihttps://github.com/sqlpage/sqlx-oldapi
transact-rs/sqlxhttps://github.com/transact-rs/sqlx
Notifications https://github.com/login?return_to=%2Fsqlpage%2Fsqlx-oldapi
Fork 15 https://github.com/login?return_to=%2Fsqlpage%2Fsqlx-oldapi
Star 80 https://github.com/login?return_to=%2Fsqlpage%2Fsqlx-oldapi
Code https://github.com/sqlpage/sqlx-oldapi
Issues 5 https://github.com/sqlpage/sqlx-oldapi/issues
Pull requests 3 https://github.com/sqlpage/sqlx-oldapi/pulls
Discussions https://github.com/sqlpage/sqlx-oldapi/discussions
Actions https://github.com/sqlpage/sqlx-oldapi/actions
Projects https://github.com/sqlpage/sqlx-oldapi/projects
Security and quality 0 https://github.com/sqlpage/sqlx-oldapi/security
Insights https://github.com/sqlpage/sqlx-oldapi/pulse
Code https://github.com/sqlpage/sqlx-oldapi
Issues https://github.com/sqlpage/sqlx-oldapi/issues
Pull requests https://github.com/sqlpage/sqlx-oldapi/pulls
Discussions https://github.com/sqlpage/sqlx-oldapi/discussions
Actions https://github.com/sqlpage/sqlx-oldapi/actions
Projects https://github.com/sqlpage/sqlx-oldapi/projects
Security and quality https://github.com/sqlpage/sqlx-oldapi/security
Insights https://github.com/sqlpage/sqlx-oldapi/pulse
[Feature] Add Migration Support for MSSQLhttps://github.com/sqlpage/sqlx-oldapi/issues/29#top
https://github.com/MrDwarf7
enhancementNew feature or requesthttps://github.com/sqlpage/sqlx-oldapi/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/MrDwarf7
MrDwarf7https://github.com/MrDwarf7
on Jul 18, 2025https://github.com/sqlpage/sqlx-oldapi/issues/29#issue-3241934259
MrDwarf7https://github.com/MrDwarf7
enhancementNew feature or requesthttps://github.com/sqlpage/sqlx-oldapi/issues?q=state%3Aopen%20label%3A%22enhancement%22
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.