class Migration:
def forwards(self):
- db.add_column('catalogue_tag', 'wiki_link', models.CharField(blank=True, max_length=240))
- db.add_column('catalogue_book', 'wiki_link', models.CharField(blank=True, max_length=240))
+ db.add_column('catalogue_tag', 'wiki_link', models.CharField(blank=True, max_length=240, default=''))
+ db.add_column('catalogue_book', 'wiki_link', models.CharField(blank=True, max_length=240, default=''))
def backwards(self):
db.delete_column('catalogue_tag', 'wiki_link')