Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature 45: Setup local storage service #54

Closed
wants to merge 11 commits into from

Conversation

imranariffin
Copy link
Owner

@imranariffin imranariffin commented Dec 16, 2019

This is the second part of PR that should solve #45.

This PR will:

  1. Install the react native SQLite plugin
  2. Initialize db connection on app startup
  3. Run db migrations on app startup after db connection
  4. Maintain all other current features (sounds obvious)

First, initialize db connection. Then run all migrations. For now migration scripts
are assumed to be idempotent. Need to keep track of successful & pending migrations
in the future (TODO).
@imranariffin imranariffin self-assigned this Dec 16, 2019
Define migration for Migration, Goal & Task tables
Fetch goals from storage instead of from mock http client
Save goal to storage on creation
@imranariffin imranariffin changed the title WIP Feature 45: Setup local storage service Feature 45: Setup local storage service Dec 18, 2019
@imranariffin imranariffin force-pushed the feature/45/setup-local-storage-service branch from a5d80f9 to 1a93374 Compare December 18, 2019 05:06
@imranariffin imranariffin force-pushed the feature/45/setup-local-storage-service branch from c58a0ac to efd9fb2 Compare December 19, 2019 04:01
@imranariffin
Copy link
Owner Author

deprecated by #57, closing

@imranariffin imranariffin deleted the feature/45/setup-local-storage-service branch February 3, 2020 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant