history: resynced the create db scripts

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