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