Additional work on sqlite upgrade schema.