mercredi 27 janvier 2016

Pre-populated SQLite Database always keep the same unique ID

I'm new to this and I want to be sure I'm heading to the right direction. I'm making a pre-populated SQLite Database and I want to store some data on a remote database using REST services. I'm wondering if it's a good practive to store ID's of my pre-populated native database onto the remote database?

Will the ID's might be modified over time if I update my app or my database? Because I eventually wants to retrieve the ID from the remote database to associate them with my native data.

Example:

SQLite data:

Person

ID name title sexe

REST remote database

person

ID

Aucun commentaire:

Enregistrer un commentaire