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

Although it's unlikely to be an issue, technically we shouldn't be insisting the sha1 field be unique globally, just within each layerbranch, so adjust the constraints. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
26 lines
670 B
Python
26 lines
670 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.12 on 2018-04-18 05:42
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('layerindex', '0013_patch'),
|
|
('rrs', '0017_maintenanceplan_maintainer_style'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='recipemaintainerhistory',
|
|
name='sha1',
|
|
field=models.CharField(max_length=64),
|
|
),
|
|
migrations.AlterUniqueTogether(
|
|
name='recipemaintainerhistory',
|
|
unique_together=set([('layerbranch', 'sha1')]),
|
|
),
|
|
]
|