Fix Db Auto Upgrade TODO: remove unused public actions