text: # -*- coding: 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 field 'Post.legacy_url'
          db.add_column('blog_post', 'legacy_url',
                        self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True),
                        keep_default=False)
  
          # Adding field 'Post.legacy_id'
          db.add_column('blog_post', 'legacy_id',
                        self.gf('django.db.models.fields.IntegerField')(null=True, blank=True),
                        keep_default=False)
  
      def backwards(self, orm):
          # Deleting field 'Post.legacy_url'
          db.delete_column('blog_post', 'legacy_url')
  
          # Deleting field 'Post.legacy_id'
          db.delete_column('blog_post', 'legacy_id')
  
      models = {
          'blog.post': {
              'Meta': {'object_name': 'Post'},
              '_content_rendered': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
              'content': ('markitup.fields.MarkupField', [], {'no_rendered_field': 'True'}),
              'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
              'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'auto_now_add': 'True', 'blank': 'True'}),
              'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'legacy_id': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
              'legacy_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
              'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}),
              'title': ('django.db.models.fields.CharField', [], {'max_length': '255'})
          },
          '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'})
          },
          'taggit.tag': {
              'Meta': {'object_name': 'Tag'},
              'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '100'})
          },
          'taggit.taggeditem': {
              'Meta': {'object_name': 'TaggedItem'},
              'content_type': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'taggit_taggeditem_tagged_items'", 'to': "orm['contenttypes.ContentType']"}),
              'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'object_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True'}),
              'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'taggit_taggeditem_items'", 'to': "orm['taggit.Tag']"})
          }
      }
  
      complete_apps = ['blog']