Add "--no-interaction" option to database:sync script
Is your feature request related to a problem? Please describe.
The database:sync script ask for interactive confirmation before executing: this makes the script unusable in CI/CD.
Describe the solution you'd like
In file bin/database-sync.ts, handle a --no-interaction option (and a -n short version) to disable any interactive question. This means a default behavior has to be decided to balance the lack of user interaction. Regarding the way the script is working now, this default behavior would be to run anyway, without asking for confirmation.
Describe alternatives you've considered
A -y or --yes option meaning "answer yes to any prompted question" could be an alternative solution. But --no-interaction is more interaction-agnostic: it works regardless of the proposed interactions, even if they are not yes or no questions. This is a more robust solution that can be applied to other scripts in the framework.