Repository navigation
Replies: 4 comments 3 replies
|
Hi @bradr3d, we have no documentation on this because it's quite a large undertaking to completely change out the underlying persistence and querying mechanism for your app, regardless of the libraries involved. It would be equally hard to migrate a SQLiteData app to a SwiftData app too. It's technically possible, but it's going to be difficult. The only approach that comes to mind is to recreate all of your SwiftData models as SQLite tables and then perform a one-time migration that loads all of your SwiftData rows into memory and insert them into your new SQLite tables. Maybe others in the community have some other ideas. |
|
I'm pondering the SwiftData -> SQLiteData for my App (Stock Portfolio Equity Curve - PortfolioEC for short name). My first few thoughts have been NO Migration - just make an incompatible new version.
A manual CSV Export & CSV Import
Delete old version App - Fresh Install new version App
Upgrade old version 2.xxx to new version 3.xx
I will be investigating some/all of these options. But open to other's experience/knowledge. David Koontz |
|
I just finished a migration. Roughly, the steps were:
I used a combination of claude/codex, one for writing up a plan the other for implementing. Took a good week and maxed out my session tokens more than once. |
|
I found this blog post during googling yesterday, and mentioned app name caught my eyes since I remembered I saw it somewhere (here). I just wondered if this guy think he is the red guy then it's too risky to switch to SQLiteData, so why does he not stay with SwiftData to benefit from "unspoken infrastructure of SwiftData on iCloud"? And pay hidden costs for those safety nets, for example Fatbobman recently found that even you select a few columns SwiftData still fetch all columns in its queries. |
Uh oh!
There was an error while loading. Please reload this page.
Hi! This is widely touted as a good alternative to SwiftData, but there's no documentation on how to potnetially migrate from SwiftData to this? Is it possible?
All reactions