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

Save each remote SRC_URI so we can use these for the recipe reporting system. This replaces an earlier implementation in the rrs branch where we simply stored SRC_URI verbatim. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
23 lines
601 B
Python
23 lines
601 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('layerindex', '0010_add_dependencies'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Source',
|
|
fields=[
|
|
('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
|
|
('url', models.CharField(max_length=255)),
|
|
('recipe', models.ForeignKey(to='layerindex.Recipe')),
|
|
],
|
|
),
|
|
]
|