upgrade db automatically if db is sqlite

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>