-
Notifications
You must be signed in to change notification settings - Fork 57
Data Persistence
Aether edited this page Sep 8, 2025
·
1 revision
The app uses SwiftData with a single ModelContainer storing TabContainer, History, and Download models. The default store is under the app's Application Support directory as OraData.sqlite.
The SwiftData database is stored at:
~/Library/Application Support/com.orabrowser.ora/OraData.sqlite
- Stores tab groups/containers (spaces)
- Manages tab organization and grouping
- Browsing history entries
- URL visits and timestamps
- Download metadata and status
- File paths and progress tracking
To reset the local store during development, you can delete the database file:
rm -f "~/Library/Application Support/com.orabrowser.ora/OraData.sqlite"*
⚠️ Caution: Use with care—this permanently clears tabs/history/download metadata.
You can also find and delete the database manually:
- Open Finder
- Press
Cmd+Shift+G - Go to:
~/Library/Application Support/com.orabrowser.ora/ - Delete
OraData.sqliteand related files (OraData.sqlite-wal,OraData.sqlite-shm)
SwiftData handles schema migrations automatically, but major changes may require manual migration logic in the app code.
The database contains:
- All tab states and organization
- Complete browsing history
- Download records
Consider this when implementing backup/sync features or privacy modes.