oceanbit / GitShark

🦈 A Git client to surf through your repos on mobile
https://gitshark.dev
Mozilla Public License 2.0
137 stars 9 forks source link

[Chore] Remove Commit from typeorm #87

Open crutchcorn opened 3 years ago

crutchcorn commented 3 years ago

We originally wanted to save the last 5 commits to the on-device DB for performance reasons back when we were considering using ismorphic-git. Now, with native code powering git log, we don't feel the need to do this anymore. However, we want to include a migration to remove Commit table from the SQLite database:

https://stackoverflow.com/questions/59101285/how-to-deal-with-sqlite-migrations-in-react-native-using-typeorm

crutchcorn commented 3 years ago

Blocked by upstream issue:

https://github.com/typeorm/typeorm/issues/7829