core: fix db upgrade conflict

Change-Id: I1b4abe97a5403a5c75b9b385f1d046f7a14d0131
Signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>