Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8082023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:56:26+00:00 2026-06-05T16:56:26+00:00

I have an app on the store, with populated data in a CoreData base.

  • 0

I have an app on the store, with populated data in a CoreData base. For pre-populating the database, we generated a .sqlite file with the application data.

For example in the table PERSON, I have

134  Martin  Developer
256  John    Boss
371  Doe     Somebody

In the new version of my app, the PERSON table looks like

134  Martin  Developer
256  John    Boss
399  Mister  Someoneelse

So I replaced the 371 line by the 399 one.

It works fine, except when I install the new app over the old one. In this case, data don’t change at all. I looks like a migration problem, but the database structure is exactly the same. Only rows have changed.

Is it a migration problem ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T16:56:28+00:00Added an answer on June 5, 2026 at 4:56 pm

    When you have a prepopulated database, you typically copy it to the application document directory the first time it is run on a device. Presumably, you want to save user data in the database as well and the sqlite store has to be in the application document directory to be writable.

    So, if you did not do the copying – implement this first.

    Then (assuming you did not change your data model), to do the change in your question,

    1. retrieve the record in question
    2. delete it
    3. insert the replacement
    4. save
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Core Data-based iPhone app with a pre-populated read-only database. What protection
I have an app on the app store, that uses coredata as storage. I
I have a paid application on the App Store, which when a user downloads,
I already have an iPhone application (version 1.0) available in the App Store and
I have an android app which populates a SQLite database with numerous latitudes and
I currently have an app published on the App Store but I've just updated
We have a paid app on the App Store with id following the lines
I have an iPhone app that I've built for the app store. Before I
I have an app on the Store for which we’re readying an update. The
So I have this App in the store, and I would like to release

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.