This commit is contained in:
parent
ba0e02bf64
commit
a8f8e30dbb
1 changed files with 25 additions and 0 deletions
25
core/inventory/migrations/0008_tag_item_tags.py
Normal file
25
core/inventory/migrations/0008_tag_item_tags.py
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Generated by Django 4.2.7 on 2025-01-29 20:56
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('inventory', '0007_rename_container_item_container_old_itemplacement_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Tag',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('slug', models.TextField()),
|
||||
],
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='item',
|
||||
name='tags',
|
||||
field=models.ManyToManyField(to='inventory.tag'),
|
||||
),
|
||||
]
|
Loading…
Add table
Reference in a new issue