Re: What's the use of the Z_UUID in the Z_METADATA table?

2008-08-13 Thread Gustavo Vera
Maybe I should not, but I'm doing it anyway :D I'm looking inside and also I'm manipulating the structure and data of the sqlite file since about 200 revisions in my project. I'm doing this to provide newer versions of the app that has the possibility of performing database migrations / upgrades

Re: What's the use of the Z_UUID in the Z_METADATA table?

2008-08-13 Thread Marcelo Alves
2008/8/13 Gustavo Vera [EMAIL PROTECTED]: Maybe I should not, but I'm doing it anyway :D I'm looking inside and also I'm manipulating the structure and data of the sqlite file since about 200 revisions in my project. I'm doing this to provide newer versions of the app that has the possibility

Re: What's the use of the Z_UUID in the Z_METADATA table?

2008-08-13 Thread Jim Correia
On Aug 13, 2008, at 9:56 AM, Gustavo Vera wrote: Maybe I should not, but I'm doing it anyway :D I'm looking inside and also I'm manipulating the structure and data of the sqlite file since about 200 revisions in my project. I'm doing this to provide newer versions of the app that has the

Re: What's the use of the Z_UUID in the Z_METADATA table?

2008-08-13 Thread Louis Gerbarg
Performing migrations by altering the underlying structure of files you do not understand will most likely result in data corruption. Even if the file appears to work correctly now, that does not mean it is correct, and it does not mean that it will continue to work in the future, especially if

Re: What's the use of the Z_UUID in the Z_METADATA table?

2008-08-13 Thread Gustavo Vera
Well, I´m aware that problems in the future are a possibility with the approach I choose to take. That´s the reason why I´m trying to take all the cares I can to avoid those future problems as much as I can. In the mean time, I´m winning a lot of time by avoiding using or implementing the possible

What's the use of the Z_UUID in the Z_METADATA table?

2008-08-12 Thread Gustavo Vera
What's the use of the Z_UUID in the Z_METADATA table? Is some kind of check sum or something like that? CoreData uses this value for something? Why is this value different every time the DB is regenerated? Is the generation of it a random-based one? Or is it based on random+another thing? Please

Re: What's the use of the Z_UUID in the Z_METADATA table?

2008-08-12 Thread Marcelo Alves
It is a implementation detail. You should not look inside the sqlite file. 2008/8/12 Gustavo Vera [EMAIL PROTECTED]: What's the use of the Z_UUID in the Z_METADATA table? Is some kind of check sum or something like that? CoreData uses this value for something? Why is this value different

Re: What's the use of the Z_UUID in the Z_METADATA table?

2008-08-12 Thread Shawn Erickson
On Tue, Aug 12, 2008 at 1:17 PM, Gustavo Vera [EMAIL PROTECTED] wrote: What's the use of the Z_UUID in the Z_METADATA table? Likely a UUID (Universally Unique Identifier). Is some kind of check sum or something like that? Not likely. CoreData uses this value for something? Likely. Why is