mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

We messed up the migrations by squashing some of the image customisation model definitions into the initial migration which has meant some irreversible operations on mysql took place. This deletes, re-orders and fixes the migrations. If your schema is up to date you may want to use ./manage migrate with --fake or --fake-initial to avoid re-applying migrations. [YOCTO #9116] (Bitbake rev: 19bd63fc3a28dcbd0f531a5b06a037da34568bac) Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28 lines
781 B
Python
28 lines
781 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('orm', '0003_customimagepackage'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Provides',
|
|
fields=[
|
|
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
|
('name', models.CharField(max_length=100)),
|
|
('recipe', models.ForeignKey(to='orm.Recipe')),
|
|
],
|
|
),
|
|
migrations.AddField(
|
|
model_name='recipe_dependency',
|
|
name='via',
|
|
field=models.ForeignKey(null=True, default=None, to='orm.Provides'),
|
|
),
|
|
]
|