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

Instead of arbitrarily importing the last 8 days of upgrades, record the date and commit when we do an import, and then use that information the next time the script is run. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
25 lines
689 B
Python
25 lines
689 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('rrs', '0007_python23'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='maintenanceplanlayerbranch',
|
|
name='upgrade_date',
|
|
field=models.DateTimeField(verbose_name='Recipe upgrade date', blank=True, null=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name='maintenanceplanlayerbranch',
|
|
name='upgrade_rev',
|
|
field=models.CharField(verbose_name='Recipe upgrade revision ', max_length=80, blank=True),
|
|
),
|
|
]
|