Currently the database is created only when the code change. This works for initial deploys and handles the case of updates too. However if we remove the database (e.g: between SR years) then it doesn't work so well.
Had a quick look at this. Using creates doesn't work like we'd want as that then prevents the command from running when the code changes if the database file is already present.
Currently the database is created only when the code change. This works for initial deploys and handles the case of updates too. However if we remove the database (e.g: between SR years) then it doesn't work so well.