Merge timeline database and regular database