move db defentity