misc: update default value in migrations (#53845)
This commit is contained in:
parent
faafe3230d
commit
8fd262b6e9
|
@ -25,7 +25,7 @@ class Migration(migrations.Migration):
|
|||
('resource_pk', models.PositiveIntegerField()),
|
||||
('method_name', models.CharField(max_length=50)),
|
||||
('natural_id', models.CharField(blank=True, max_length=256, null=True)),
|
||||
('parameters', django.contrib.postgres.fields.jsonb.JSONField(default={})),
|
||||
('parameters', django.contrib.postgres.fields.jsonb.JSONField(default=dict)),
|
||||
('creation_timestamp', models.DateTimeField(auto_now_add=True)),
|
||||
('update_timestamp', models.DateTimeField(auto_now=True)),
|
||||
('done_timestamp', models.DateTimeField(null=True)),
|
||||
|
@ -42,7 +42,7 @@ class Migration(migrations.Migration):
|
|||
max_length=20,
|
||||
),
|
||||
),
|
||||
('status_details', django.contrib.postgres.fields.jsonb.JSONField(default={})),
|
||||
('status_details', django.contrib.postgres.fields.jsonb.JSONField(default=dict)),
|
||||
(
|
||||
'resource_type',
|
||||
models.ForeignKey(
|
||||
|
|
|
@ -78,7 +78,7 @@ class Migration(migrations.Migration):
|
|||
migrations.AlterField(
|
||||
model_name='resourcelog',
|
||||
name='extra',
|
||||
field=django.contrib.postgres.fields.jsonb.JSONField(default={}, verbose_name='extras'),
|
||||
field=django.contrib.postgres.fields.jsonb.JSONField(default=dict, verbose_name='extras'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='resourcelog',
|
||||
|
|
Loading…
Reference in New Issue