merge two db context to only one