mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-05 05:04:46 +02:00
layerindex/models.py: add Inactive-Upstream
Add the newish Inactive-Upstream upstream status. Add 0046_alter_patch_status.py migration. Signed-off-by: Tim Orling <tim.orling@konsulko.com> layerindex/migrations: update patch status Signed-off-by: Tim Orling <tim.orling@konsulko.com>
This commit is contained in:
parent
7ef8152266
commit
4dd7f0ee8f
18
layerindex/migrations/0046_alter_patch_status.py
Normal file
18
layerindex/migrations/0046_alter_patch_status.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 3.2.12 on 2022-04-10 19:20
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('layerindex', '0045_layerbranch_classicrecipe'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='patch',
|
||||
name='status',
|
||||
field=models.CharField(choices=[('U', 'Unknown'), ('A', 'Accepted'), ('P', 'Pending'), ('I', 'Inappropriate'), ('B', 'Backport'), ('S', 'Submitted'), ('D', 'Denied'), ('N', 'Inactive-Upstream')], default='U', max_length=1),
|
||||
),
|
||||
]
|
|
@ -561,6 +561,7 @@ class Patch(models.Model):
|
|||
('B', 'Backport'),
|
||||
('S', 'Submitted'),
|
||||
('D', 'Denied'),
|
||||
('N', 'Inactive-Upstream'),
|
||||
]
|
||||
recipe = models.ForeignKey(Recipe, on_delete=models.CASCADE)
|
||||
path = models.CharField(max_length=255)
|
||||
|
|
Loading…
Reference in New Issue
Block a user