[Solved]Creating a custom role

In the lecture Create user with user-defined role, kirby updated a user that was created on the nasa database with the newly created role here. How was this possible considering the user was actually created on a different database? I tried and I got an error Error: Updating user failed: User intern@admin not found with this command db.updateUser('intern', {roles: [{role: 'internRole', db: 'admin'}]}).

False alarm. Just went through the video again and realized that he actually just used the command above to explain what he was going to do next after retrieving the nasa database instance. after which he then ran nasa.updateUser('intern', {roles: [{role: 'internRole', db: 'admin'}]}).

Apologies for asking the question.