summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2019-02-06 20:36:42 +0000
committerMagnus Hagander2019-02-06 20:36:42 +0000
commitffc588f0213dc631e4e10e513713a772d82d6258 (patch)
treecfbc45ee9bb9a83eea6d9a105c6e0b0734961e42
parente937795ea90ba1a1b72fed942ef385b285c3a378 (diff)
Add index to patchhistory.date
-rw-r--r--pgcommitfest/commitfest/migrations/0005_history_dateindex.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/pgcommitfest/commitfest/migrations/0005_history_dateindex.py b/pgcommitfest/commitfest/migrations/0005_history_dateindex.py
new file mode 100644
index 0000000..c7be8fc
--- /dev/null
+++ b/pgcommitfest/commitfest/migrations/0005_history_dateindex.py
@@ -0,0 +1,20 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.17 on 2019-02-06 20:36
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('commitfest', '0004_target_version'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='patchhistory',
+ name='date',
+ field=models.DateTimeField(auto_now_add=True, db_index=True),
+ ),
+ ]