Register the commands in your services.yaml
.
Brainbits\DatabaseCommand\Command\SchemaExistsCommand: ~
Brainbits\DatabaseCommand\Command\WaitForDatabaseCommand: ~
$ bin/console brainbits:database:wait-for-database --retry-seconds 3 --retry-count 100
$ bin/console brainbits:database:schema-exists