fix(db) workspace rename issue

Commit oleh dapanel (17dceb71619d1d4d649721e3831f0e06101c7140)