X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2f1ae788b8903f835a06f77ede2fd71a5d350b74..39ea167b823f64d714c80ff87c994dbc51fdc34f:/apps/catalogue/migrations/0004_book_html_shorts_translations.py diff --git a/apps/catalogue/migrations/0004_book_html_shorts_translations.py b/apps/catalogue/migrations/0004_book_html_shorts_translations.py index 8d8e06af2..d9e7b5303 100644 --- a/apps/catalogue/migrations/0004_book_html_shorts_translations.py +++ b/apps/catalogue/migrations/0004_book_html_shorts_translations.py @@ -5,9 +5,9 @@ from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): - + def forwards(self, orm): - + # Adding field 'Book._short_html_en' db.add_column('catalogue_book', '_short_html_en', self.gf('django.db.models.fields.TextField')(null=True, blank=True), keep_default=False) @@ -31,10 +31,10 @@ class Migration(SchemaMigration): # Adding field 'Book._short_html_lt' db.add_column('catalogue_book', '_short_html_lt', self.gf('django.db.models.fields.TextField')(null=True, blank=True), keep_default=False) - - + + def backwards(self, orm): - + # Deleting field 'Book._short_html_en' db.delete_column('catalogue_book', '_short_html_en') @@ -58,8 +58,8 @@ class Migration(SchemaMigration): # Deleting field 'Book._short_html_lt' db.delete_column('catalogue_book', '_short_html_lt') - - + + models = { 'auth.group': { 'Meta': {'object_name': 'Group'}, @@ -168,5 +168,5 @@ class Migration(SchemaMigration): 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) } } - + complete_apps = ['catalogue']