[db]: Cleanup. Now Spec PID is generated (and the migration works)