diff --git a/codescanner/migrations/0012_auto_20171212_1230.py b/codescanner/migrations/0012_auto_20171212_1230.py new file mode 100644 index 0000000..eda222c --- /dev/null +++ b/codescanner/migrations/0012_auto_20171212_1230.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.7 on 2017-12-11 23:30 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('codescanner', '0011_apexpagecomponent_controller'), + ] + + operations = [ + migrations.AlterField( + model_name='apexclass', + name='name', + field=models.CharField(max_length=120), + ), + migrations.AlterField( + model_name='apexpagecomponent', + name='controller', + field=models.CharField(blank=True, max_length=120, null=True), + ), + migrations.AlterField( + model_name='apexpagecomponent', + name='name', + field=models.CharField(max_length=120), + ), + migrations.AlterField( + model_name='job', + name='username', + field=models.CharField(blank=True, max_length=120, null=True), + ), + ] diff --git a/codescanner/models.py b/codescanner/models.py index 76da227..8c2bcf3 100644 --- a/codescanner/models.py +++ b/codescanner/models.py @@ -17,7 +17,7 @@ class Job(models.Model): finished_date = models.DateTimeField(blank=True, null=True) org_id = models.CharField(max_length=18) - username = models.CharField(max_length=80, blank=True, null=True) + username = models.CharField(max_length=120, blank=True, null=True) email = models.EmailField(blank=True, null=True) email_result = models.BooleanField(default=True) @@ -61,7 +61,7 @@ class ApexClass(models.Model): class_id = models.CharField(max_length=18) class_member_id = models.CharField(max_length=18, blank=True, null=True) - name = models.CharField(max_length=80) + name = models.CharField(max_length=120) body = models.TextField() symbol_table_json = models.TextField(blank=True, null=True) @@ -86,8 +86,8 @@ class ApexPageComponent(models.Model): job = models.ForeignKey(Job) sf_id = models.CharField(max_length=18) - name = models.CharField(max_length=80) - controller = models.CharField(max_length=80, blank=True, null=True) + name = models.CharField(max_length=120) + controller = models.CharField(max_length=120, blank=True, null=True) body = models.TextField() TYPE_CHOICES = ( diff --git a/db.sqlite3 b/db.sqlite3 index e3c29a3..640949c 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ