I am working in a Laravel application where there is a database that changes over time,
it might be called
20042018
today and
21042018
tomorrow I know how to calculate its name, I just don't know where to add the script to find the db name.
Must I do this in a modal? or is there a constructor somewhere where I am supposed to set a dynamic DB?
In my database.php file, I want to include this DB., but how can I dynamically add this database to my driver in database.php?