Skip to content

Commit

Permalink
Merge pull request #1301 from longguikeji/release-2.5.16
Browse files Browse the repository at this point in the history
Feature fix log length (#1300)
  • Loading branch information
luolu-lg committed Sep 22, 2022
2 parents 3964089 + 4802ef4 commit 293a3ef
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.0.6 on 2022-09-22 07:18

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('com_longgui_logging_mysql', '0006_log_request_path_log_status_code_log_username_and_more'),
]

operations = [
migrations.AlterField(
model_name='log',
name='request_path',
field=models.CharField(db_index=True, max_length=760, null=True),
),
]
2 changes: 1 addition & 1 deletion extension_root/com_longgui_logging_mysql/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Meta:
data = models.JSONField(blank=True, default=dict, verbose_name='日志数据')
created = models.DateTimeField(auto_now_add=True, blank=True, null=True, verbose_name='创建时间', db_index = True)
username = models.CharField(max_length=128, blank=False, null=True, db_index = True)
request_path = models.CharField(max_length=128, blank=False, null=True, db_index = True)
request_path = models.CharField(max_length=760, blank=False, null=True, db_index = True)
status_code = models.IntegerField(blank=False, null=True, db_index = True)


Expand Down

0 comments on commit 293a3ef

Please sign in to comment.