diff options
| author | spl3g <spleefer6@gmail.com> | 2026-05-30 15:07:25 +0300 |
|---|---|---|
| committer | spl3g <spleefer6@gmail.com> | 2026-05-30 15:07:25 +0300 |
| commit | 0e8501aa8c55b02c5af5bf3fd51d764c786d77f6 (patch) | |
| tree | f689755e783b0b2e6c34453fea564e0c746f9332 /core/migrations | |
| parent | f20bcbc5926b5d02beefa855ece59e34704503ae (diff) | |
adjust the product model
Diffstat (limited to 'core/migrations')
| -rw-r--r-- | core/migrations/0002_alter_product_supplier.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/core/migrations/0002_alter_product_supplier.py b/core/migrations/0002_alter_product_supplier.py new file mode 100644 index 0000000..d54e7e4 --- /dev/null +++ b/core/migrations/0002_alter_product_supplier.py @@ -0,0 +1,19 @@ +# Generated by Django 6.0.5 on 2026-05-29 19:42 + +import django.db.models.deletion +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='product', + name='supplier', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='core.supplier'), + ), + ] |
