##// END OF EJS Templates
Do not index post's uid field as mysql does not support it
neko259 -
r1835:aa9b2361 default
parent child Browse files
Show More
@@ -0,0 +1,24 b''
1 # -*- coding: utf-8 -*-
2 # Generated by Django 1.10.5 on 2017-01-23 14:20
3 from __future__ import unicode_literals
4
5 from django.db import migrations, models
6
7
8 class Migration(migrations.Migration):
9
10 dependencies = [
11 ('boards', '0055_auto_20161229_1132'),
12 ]
13
14 operations = [
15 migrations.AlterModelOptions(
16 name='attachment',
17 options={'ordering': ('id',)},
18 ),
19 migrations.AlterField(
20 model_name='post',
21 name='uid',
22 field=models.TextField(),
23 ),
24 ]
@@ -90,7 +90,7 b' class Post(models.Model, Viewable):'
90 thread = models.ForeignKey('Thread', db_index=True, related_name='replies')
90 thread = models.ForeignKey('Thread', db_index=True, related_name='replies')
91
91
92 url = models.TextField()
92 url = models.TextField()
93 uid = models.TextField(db_index=True)
93 uid = models.TextField()
94
94
95 # Global ID with author key. If the message was downloaded from another
95 # Global ID with author key. If the message was downloaded from another
96 # server, this indicates the server.
96 # server, this indicates the server.
General Comments 0
You need to be logged in to leave comments. Login now