Plugins Database

Hi all,

I’m planning to write an app plugin for some use case. But i’m bit confused that can we add new tables in grafana database to store required data? If not then can we have a separate db for app plugin? OR write a separate service with its own database etc and configure app plugin with service? I searched over the internet but couldn’t find answer to my questions.