InvenTree icon indicating copy to clipboard operation
InvenTree copied to clipboard

Strange Migration during CI

Open SchrodingersGat opened this issue 1 year ago • 4 comments

image

Ref: https://github.com/inventree/InvenTree/actions/runs/7754804489/job/21148965178?pr=6390

This migration is odd - where is it originating?

It may explain this unsolved issue - https://github.com/inventree/InvenTree/issues/5804

SchrodingersGat avatar Feb 02 '24 11:02 SchrodingersGat

This is still appearing - should be investigated. https://github.com/inventree/InvenTree/actions/runs/8156036945/job/22292838209#step:7:797

matmair avatar Mar 05 '24 16:03 matmair

This seems to stil appear - no idea why https://github.com/inventree/InvenTree/actions/runs/8870123046/job/24351576101#step:7:812

matmair avatar Apr 28 '24 21:04 matmair

I can reproduce this locally (in devcontainer) by running invoke test. An empty migration file is created:

./src/backend/InvenTree/InvenTree/migrations/0002_auto_20240521_0154.py

# Generated by Django 4.2.12 on 2024-05-21 01:54

from django.db import migrations


class Migration(migrations.Migration):

    dependencies = [
        ('InvenTree', '0001_initial'),
    ]

    operations = [
    ]

SchrodingersGat avatar May 21 '24 02:05 SchrodingersGat

@SchrodingersGat maybe we should just add that one?

matmair avatar May 22 '24 07:05 matmair