- ('stream', models.CharField(max_length=255)),
- ('version', models.CharField(max_length=255)),
- ('context', models.CharField(max_length=255)),
- ('arch', models.CharField(max_length=255)),
- ('dependencies', django.contrib.postgres.fields.jsonb.JSONField(default=list)),
- ('artifacts', django.contrib.postgres.fields.jsonb.JSONField(default=list)),
- ('packages', models.ManyToManyField(related_name='rpm_modulemd', to='rpm.Package')),
- ],
- options={
- 'default_related_name': '%(app_label)s_%(model_name)s',
- 'unique_together': {('name', 'stream', 'version', 'context', 'arch')},
- },
- bases=('core.content',),
- ),
- migrations.CreateModel(
- name='Image',
- fields=[
- ('pulp_id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
- ('pulp_created', models.DateTimeField(auto_now_add=True)),
- ('pulp_last_updated', models.DateTimeField(auto_now=True, null=True)),
- ('name', models.CharField(max_length=20)),