Skip to content

brainbits/database-command

Repository files navigation

codecov

Installation

Register the commands in your services.yaml.

    Brainbits\DatabaseCommand\Command\SchemaExistsCommand: ~

    Brainbits\DatabaseCommand\Command\WaitForDatabaseCommand: ~

Usage

$ bin/console brainbits:database:wait-for-database --retry-seconds 3 --retry-count 100
$ bin/console brainbits:database:schema-exists