The question is: There is an application using a ready-made database with a single table. Now we need to add new entries to this table.

How do users who have already downloaded the application update the database, so that their records are not erased, but those records are added that they did not have?

Closed due to the fact that the issue is too general for the participants Denis Bubnov , user194374, aleksandr barakin , Alex , Bald 14 Dec '16 at 6:42 .

Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .

    1 answer 1

    You will need to run the onUpdate() method
    Read about him. It worked for me.

    • This I know, through him I have already made some changes. But I would like to hear what is the algorithm of actions in this case? - Sergey
    • This answer helped me: stackoverflow.com/questions/21881992/… - GuardFromUA
    • thank. I will understand - Sergey
    • If I have helped you with the answer, you can mark my answer (check mark from the left). - GuardFromUA