Thus said Ross Berteig on Wed, 02 Mar 2016 19:24:55 -0800: > Yes, apparently it has. In isValidLocalDb() in src/db.c ca. line 1099, > there are two if blocks that test for some feature of the local db > schema, and to the needed ALTER TABLE commands to fix things up.
The ALTER TABLE commands there are not the kind mentioned here: https://www.sqlite.org/lang_altertable.html#otheralter I could be wrong, but I think ALTER TABLE for changing a PRIMARY KEY is much more involved than what isValidLocalDb() currently does. > Aside from the schema update, which I think does have a fairly > painless fix, I'm fine with getting this fixed. When you say painless do you mean ``cd /new/checkout && fossil open /repo.fossil'' or do you mean finding the magic ALTER TABLE sauce for altering a PRIMARY KEY? Thanks, Andy -- TAI64 timestamp: 4000000056d7cec6 _______________________________________________ fossil-dev mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev
