Increase max_length on certain fields
This commit is contained in:
Родитель
fa553ccc72
Коммит
b31278c95d
|
@ -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),
|
||||
),
|
||||
]
|
|
@ -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 = (
|
||||
|
|
Двоичные данные
db.sqlite3
Двоичные данные
db.sqlite3
Двоичный файл не отображается.
Загрузка…
Ссылка в новой задаче