removed jsonfield from old migration files.
This commit is contained in:
parent
448cb4ea93
commit
37f805ebe1
@ -2,7 +2,6 @@
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
import jsonfield.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
@ -26,7 +25,7 @@ class Migration(migrations.Migration):
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=255)),
|
||||
('credentials', jsonfield.fields.JSONField(default=dict)),
|
||||
('credentials', models.JSONField(default=dict)),
|
||||
('type', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='connection.ConnectionType')),
|
||||
],
|
||||
),
|
||||
|
||||
@ -3,7 +3,6 @@
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
import jsonfield.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
@ -72,7 +71,7 @@ class Migration(migrations.Migration):
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('datetime', models.DateTimeField()),
|
||||
('details', jsonfield.fields.JSONField(default=dict)),
|
||||
('details', models.JSONField(default=dict)),
|
||||
('Bank', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='transactions', to='qrtr_account.Bank')),
|
||||
('Slice', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='qrtr_account.Slice')),
|
||||
],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user