Fix of db

Signed-off-by: Thierry <thierry.van.loo.tvl@gmail.com>