history: resynced the create db scripts

Change-Id: I09136453a3b50ca34b29e9d26912cbb10e2f4998
Signed-off-by: Yaniv Dary <ydary@redhat.com>