Skip to content

Commit de4ce8a

Browse files
authored
further reduce charfield size for mysql
1 parent 35e7937 commit de4ce8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

security/migrations/0001_initial.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Migration(migrations.Migration):
2727
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
2828
('cwe_id', models.CharField(max_length=255, unique=True)),
2929
('name', models.CharField(blank=True, max_length=255, null=True)),
30-
('description', models.CharField(blank=True, max_length=21844, null=True)),
30+
('description', models.CharField(blank=True, max_length=255, null=True)),
3131
],
3232
),
3333
migrations.CreateModel(
@@ -36,7 +36,7 @@ class Migration(migrations.Migration):
3636
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
3737
('cve_id', models.CharField(max_length=255, unique=True)),
3838
('title', models.CharField(blank=True, max_length=255, null=True)),
39-
('description', models.CharField(max_length=21844)),
39+
('description', models.CharField(max_length=255)),
4040
('reserved_date', models.DateTimeField(blank=True, null=True)),
4141
('published_date', models.DateTimeField(blank=True, null=True)),
4242
('rejected_date', models.DateTimeField(blank=True, null=True)),

0 commit comments

Comments
 (0)