Checkout to the master branch
git checkout master
.-
Update database to match current doctrine schema, also removing excess tables
php bin/console d:s:u --force --complete
, whered:s:u
is automatic short version ofdoctrine:schema:update
, provided by Symfony console.NB! It deletes all tables from the database that are not in doctrine schema!
If you want to keep some tables (migration table could also be removed), then runphp bin/console d:s:u --dump-sql --complete
do display excess tables, remove them manually and then runphp bin/console d:s:u --force
to make schema up-to-date with master. Add all migrations
php bin/console d:m:v --all --add -n
whered:m:v
is automatic short version ofdoctrine:migrations:version
, provided by Symfony console.Checkout to your feature branch
git checkout KEY-123
Run migrations
php bin/console d:m:m -n
, whered:m:m
is automatic short version ofdoctrine:migrations:migrate
, provided by Symfony console.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)