File tree 2 files changed +19
-1
lines changed
2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change
1
+ # Generated by Django 2.0.4 on 2018-04-09 21:36
2
+
3
+ from django .db import migrations , models
4
+
5
+
6
+ class Migration (migrations .Migration ):
7
+
8
+ dependencies = [
9
+ ('easyaudit' , '0009_auto_20180314_2225' ),
10
+ ]
11
+
12
+ operations = [
13
+ migrations .AlterField (
14
+ model_name = 'crudevent' ,
15
+ name = 'object_repr' ,
16
+ field = models .TextField (blank = True , null = True ),
17
+ ),
18
+ ]
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class CRUDEvent(models.Model):
22
22
event_type = models .SmallIntegerField (choices = TYPES )
23
23
object_id = models .IntegerField () # we should try to allow other ID types
24
24
content_type = models .ForeignKey (ContentType , on_delete = models .CASCADE )
25
- object_repr = models .CharField ( max_length = 255 , null = True , blank = True )
25
+ object_repr = models .TextField ( null = True , blank = True )
26
26
object_json_repr = models .TextField (null = True , blank = True )
27
27
changed_fields = models .TextField (null = True , blank = True )
28
28
user = models .ForeignKey (settings .AUTH_USER_MODEL , null = True ,
You can’t perform that action at this time.
0 commit comments