# Generated by Django 2.2.27 on 2022-04-12 10:28

import django.contrib.postgres.fields.jsonb
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('userreports', '0017_index_cleanup'),
    ]

    operations = [
        migrations.CreateModel(
            name='UCRExpression',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=255)),
                ('domain', models.CharField(db_index=True, max_length=255)),
                ('description', models.TextField(blank=True, null=True)),
                ('expression_type', models.CharField(choices=[('named_expression', 'named_expression'), ('named_filter', 'named_filter')], db_index=True, default='named_expression', max_length=20)),
                ('definition', django.contrib.postgres.fields.jsonb.JSONField(null=True)),
            ],
            options={
                'unique_together': {('name', 'domain')},
            },
        ),
    ]

@@ -19,14 +19,14 @@
 ngo 
-2
+3
 .2.
+1
 2
-7
  on 
@@ -41,57 +41,13 @@
 12 1
-0:28%0A%0Aimport django.contrib.postgres.fields.jsonb
+5:07%0A
 %0Afro
@@ -867,44 +867,14 @@
 n', 
-django.contrib.postgres.fields.jsonb
+models
 .JSO

Use django 3 to make migration