text: # encoding: utf-8
  import datetime
  from south.db import db
  from south.v2 import SchemaMigration
  from django.db import models
  
  class Migration(SchemaMigration):
  
      def forwards(self, orm):
          
          # Adding index on 'MarkupItem', fields ['language']
          db.create_index('contentitem_markup_markupitem', ['language'])
  
  
      def backwards(self, orm):
          
          # Removing index on 'MarkupItem', fields ['language']
          db.delete_index('contentitem_markup_markupitem', ['language'])
  
  
      models = {
          'contenttypes.contenttype': {
              'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
              'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
          },
          'fluent_contents.contentitem': {
              'Meta': {'ordering': "('placeholder', 'sort_order')", 'object_name': 'ContentItem'},
              'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'parent_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
              'parent_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
              'placeholder': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'contentitems'", 'null': 'True', 'to': "orm['fluent_contents.Placeholder']"}),
              'polymorphic_ctype': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'polymorphic_fluent_contents.contentitem_set'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
              'sort_order': ('django.db.models.fields.IntegerField', [], {'default': '1'})
          },
          'fluent_contents.placeholder': {
              'Meta': {'unique_together': "(('parent_type', 'parent_id', 'slot'),)", 'object_name': 'Placeholder'},
              'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'parent_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
              'parent_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}),
              'role': ('django.db.models.fields.CharField', [], {'default': "'m'", 'max_length': '1'}),
              'slot': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'db_index': 'True'}),
              'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'})
          },
          'markup.markupitem': {
              'Meta': {'ordering': "('placeholder', 'sort_order')", 'object_name': 'MarkupItem', 'db_table': "'contentitem_markup_markupitem'", '_ormbases': ['fluent_contents.ContentItem']},
              'contentitem_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['fluent_contents.ContentItem']", 'unique': 'True', 'primary_key': 'True'}),
              'language': ('django.db.models.fields.CharField', [], {'max_length': '30', 'db_index': 'True'}),
              'text': ('django.db.models.fields.TextField', [], {})
          }
      }
  
      complete_apps = ['markup']
  