Move Db ownership