Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Pyro2b

macrumors newbie
Original poster
Aug 2, 2004
28
0
California
Hi,

I am trying to make changes to the database in my app, but the changes don't seem to take affect in my app. I am using MesaSQLite to edit the DB. I will change/add/delete records in the DB, but when I build and run my app on the phone, none of the changes have taken affect. Any ideas?

Thanks!
 

admanimal

macrumors 68040
Apr 22, 2005
3,531
2
How are you setting up the database in your app? I assume you are copying the db file to your app's documents directory during the app's first run, and then on subsequent runs just opening the file in the documents directory. If that is the case, you need to completely erase the app from the device/simulator after you make the changes to the db or it is just going to use the older version that's already in the documents directory.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.