Add scriptSig and scriptPubKey in database.