nunomaduro / laravel-optimize-database

💨 Provides a good starting point for production-ready SQLite databases
https://laravel-optimize-database.vercel.app
MIT License
210 stars 7 forks source link

Support for multiple sqlite files #5

Open f-ricci opened 2 months ago

f-ricci commented 2 months ago

Hey, great package!

Are you considering to add support for multiple sqlite files? For example in my app I use different files for the user's database and the "system" database (queues, session, cache).

My 2 cents is that all defined sqlite connections that have the ['optimize' => true] could be included in a loop.

If I make the changes, would you consider them?