diff options
author | luxagraf <sng@luxagraf.net> | 2019-05-05 11:40:42 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-05-05 11:40:42 -0500 |
commit | a2891841fbf1e5660693a1f9109f2e6810224a3b (patch) | |
tree | be0aae73fe8f5e6271a76e8c5c6dc35b00f347a6 /app/django_comments/migrations/0003_add_submit_date_index.py | |
parent | bdc06f56d538358f1fa07d35afb5733c790e3ab2 (diff) |
Diffstat (limited to 'app/django_comments/migrations/0003_add_submit_date_index.py')
-rw-r--r-- | app/django_comments/migrations/0003_add_submit_date_index.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app/django_comments/migrations/0003_add_submit_date_index.py b/app/django_comments/migrations/0003_add_submit_date_index.py new file mode 100644 index 0000000..4a5dadf --- /dev/null +++ b/app/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, + ), + ] |