2017-10-17 4 views

Répondre

1

Exécuter avec outOfOrder activé; Voir le migrate docs.

Option: outOfOrder 
Required: No 
Default: false 
Description: Allows migrations to be run "out of order". 
If you already have versions 1 and 3 applied, and now a version 2 is found, it will be applied too instead of being ignored. 

Si vous utilisez via la ligne de commande, procédez comme suit:

  1. Ajouter une nouvelle migration comme V1.1__description.sql ou similaire
  2. Run voie de migration à nouveau avec -outOfOrder true