How do you builders handle a database in a module?

I would like to incorporate a small database into my module at some point, but I am new into this so I would like to know that do people here use somekind of ready database scripts from the vault or do you make your own?

I would like to make a system which would save the location of my friend’s heroes when they log out of my server, and atleast store their stats when they log in and log out etc.

From there maybe start expanding that later.

Do you use the campaign database or do you prefer using nwnx or something else?