[Patch] pglister: Bugfix: wrong dependency in eximintegration

Поиск
Список
Период
Сортировка
Искать

[Patch] pglister: Bugfix: wrong dependency in eximintegration

От:
Célestin Matte <celestin.matte@cmatte.me>
Дата:
Вложения:
Migrations added in 1527758e as a synchronization with latest version of pgweb auth plugin cause migration to crash with the following error:
CommandError: Conflicting migrations detected; multiple leaf nodes in the migration graph: (0001_initial, 0002_queue_idx in eximintegration).

As far as I understand the situation, the second migration in eximintegration depends on lists' 0001_initial instead of eximintegration's 0001_initial. Changing this dependency fixes the issue and allow django to migrate.
-- 
Célestin Matte

Re: [Patch] pglister: Bugfix: wrong dependency in eximintegration

От:
Magnus Hagander <magnus@hagander.net>
Дата:
On Mon, Jul 31, 2023 at 11:02 AM Célestin Matte
 wrote:
>
> Migrations added in 1527758e as a synchronization with latest version of pgweb auth plugin cause migration to crash with the following error:
> CommandError: Conflicting migrations detected; multiple leaf nodes in the migration graph: (0001_initial, 0002_queue_idx in eximintegration).

Oh crap. Those were clearly not supposed to be included in that commit
as they're completely unrelated to the auth plugin...


> As far as I understand the situation, the second migration in eximintegration depends on lists' 0001_initial instead of eximintegration's 0001_initial. Changing this dependency fixes the issue and allow django to migrate.

Yup, that's correct. Applied and pushed, thanks!

//Magnus


FAQ