Skip to content

Latest commit

 

History

History
executable file
·
22 lines (18 loc) · 491 Bytes

File metadata and controls

executable file
·
22 lines (18 loc) · 491 Bytes

Commands

Create a new database.

bin/console doctrine:database:create

For build an Entity (table) or add property, execute this:

bin/console make:entity

Updating database structure with doctrine:

bin/console doctrine:migrations:diff
bin/console doctrine:migrations:execute --up DoctrineMigrations\\Version<NUMBER_VERSION>

Drop all tables without dropping database:

bin/console doctrine:schema:drop --full-database --force