X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/95045552540ca917d273954ebfa20b47a306bb93..9c5d9a4e77a10b4e60d89d3890e49002bd7f3993:/apps/catalogue/migrations/0001_initial.py diff --git a/apps/catalogue/migrations/0001_initial.py b/apps/catalogue/migrations/0001_initial.py index 05ba18d1e..2aabb8237 100644 --- a/apps/catalogue/migrations/0001_initial.py +++ b/apps/catalogue/migrations/0001_initial.py @@ -5,9 +5,9 @@ from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): - + def forwards(self, orm): - + # Adding model 'Tag' db.create_table('catalogue_tag', ( ('category', self.gf('django.db.models.fields.CharField')(max_length=50, db_index=True)), @@ -69,10 +69,10 @@ class Migration(SchemaMigration): ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), )) db.send_create_signal('catalogue', ['Fragment']) - - + + def backwards(self, orm): - + # Deleting model 'Tag' db.delete_table('catalogue_tag') @@ -87,8 +87,8 @@ class Migration(SchemaMigration): # Deleting model 'Fragment' db.delete_table('catalogue_fragment') - - + + models = { 'auth.group': { 'Meta': {'object_name': 'Group'}, @@ -178,5 +178,5 @@ class Migration(SchemaMigration): 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) } } - + complete_apps = ['catalogue']