Replies: 2 comments
-
|
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. |
Beta Was this translation helpful? Give feedback.
-
|
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 |
Beta Was this translation helpful? Give feedback.
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?
Beta Was this translation helpful? Give feedback.
All reactions