fix bug 343

SQLITE, alter table destroys pk