Space cleanups

This commit is contained in:
Roberto Rosario
2014-10-23 01:28:54 -04:00
parent 96623354a7
commit f328789d26

View File

@@ -17,13 +17,11 @@ class Migration(SchemaMigration):
# Removing index on 'DocumentVersion', fields ['timestamp']
db.delete_index(u'documents_documentversion', ['timestamp'])
# Changing field 'Document.date_added'
db.alter_column(u'documents_document', 'date_added', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True))
# Removing index on 'Document', fields ['date_added']
db.delete_index(u'documents_document', ['date_added'])
def backwards(self, orm):
# Adding index on 'Document', fields ['date_added']
db.create_index(u'documents_document', ['date_added'])
@@ -31,7 +29,6 @@ class Migration(SchemaMigration):
# Adding index on 'DocumentVersion', fields ['timestamp']
db.create_index(u'documents_documentversion', ['timestamp'])
# Changing field 'RecentDocument.datetime_accessed'
db.alter_column(u'documents_recentdocument', 'datetime_accessed', self.gf('django.db.models.fields.DateTimeField')())
@@ -140,4 +137,4 @@ class Migration(SchemaMigration):
}
}
complete_apps = ['documents']
complete_apps = ['documents']