summaryrefslogtreecommitdiff
path: root/app/lib/django_comments/migrations/0003_add_submit_date_index.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib/django_comments/migrations/0003_add_submit_date_index.py')
-rw-r--r--app/lib/django_comments/migrations/0003_add_submit_date_index.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/lib/django_comments/migrations/0003_add_submit_date_index.py b/app/lib/django_comments/migrations/0003_add_submit_date_index.py
new file mode 100644
index 0000000..4a5dadf
--- /dev/null
+++ b/app/lib/django_comments/migrations/0003_add_submit_date_index.py
@@ -0,0 +1,20 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import models, migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('django_comments', '0002_update_user_email_field_length'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='comment',
+ name='submit_date',
+ field=models.DateTimeField(default=None, verbose_name='date/time submitted', db_index=True),
+ preserve_default=True,
+ ),
+ ]