- fix issues with PRIMARY and FOREIGN keys to make work dbDelta
  work correctly.