Plugin access to database

I’m writing a plugin that needs to store information about uploaded files. Name, path, device ids that it pertains to.

Is there such an access for Plugins to utilize? Didn’t want to create new tables if they would be wiped out on updates.

You could use “components” to store data. This is a supported way, and as long as your component name does not collide with existing ones, you’ll be safe. By memory, I would say the OSPF code uses components, that may be a good start for you.
You can prefix the component with your plugin name for instance.

That sounds perfect, thank you!