]> source.dussan.org Git - nextcloud-server.git/commit
Only mark migrations as installed after execution 26379/head
authorJoas Schilling <coding@schilljs.com>
Thu, 4 Mar 2021 07:49:42 +0000 (08:49 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Tue, 30 Mar 2021 19:51:12 +0000 (19:51 +0000)
commite3927afe195dc1fe385baf00439de18096bbcd22
tree2cdf146082c5328eb78bce4254a084ef99f5944c
parentb2072cd6fca3302cd621ef849b8e5e59b42665a8
Only mark migrations as installed after execution

The problem is that if a developer creates a structural error in their migration file,
they will already be marked as executed and an not be rerun.

Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/DB/MigrationService.php