mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00

Version downgrades (or what appear to be downgrades) do occasionally happen, and if they did then the RRS was previously simply ignoring them, resulting in the latest version being reported incorrectly. Allow downgrades to be recorded as an upgrade with a new 'Downgrade' type option set, and display a label on such records in the UI. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
21 lines
581 B
Python
21 lines
581 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.22 on 2019-08-13 12:37
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('rrs', '0023_recipeupgrade_deleted'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='recipeupgrade',
|
|
name='upgrade_type',
|
|
field=models.CharField(choices=[('U', 'Upgrade'), ('D', 'Downgrade'), ('N', 'Delete'), ('R', 'Delete (final)')], db_index=True, default='U', max_length=1),
|
|
),
|
|
]
|