kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
38 wiersze
1.4 KiB
Python
38 wiersze
1.4 KiB
Python
# Generated by Django 2.2.7 on 2019-11-25 14:21
|
|
|
|
import django.contrib.postgres.fields.jsonb
|
|
import django.core.serializers.json
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('common', '0004_auto_20191111_1338'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='mutation',
|
|
name='payload',
|
|
field=django.contrib.postgres.fields.jsonb.JSONField(encoder=django.core.serializers.json.DjangoJSONEncoder),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='mutation',
|
|
name='previous_state',
|
|
field=django.contrib.postgres.fields.jsonb.JSONField(default=None, encoder=django.core.serializers.json.DjangoJSONEncoder, null=True),
|
|
),
|
|
migrations.CreateModel(
|
|
name='MutationAttachment',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('attachment', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='mutation_attachment', to='common.Attachment')),
|
|
('mutation', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='mutation_attachment', to='common.Mutation')),
|
|
],
|
|
options={
|
|
'unique_together': {('attachment', 'mutation')},
|
|
},
|
|
),
|
|
]
|