X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b2541b6c5da10e4fbcd8e4975973b539af3fec21..8e2e65fd5f86516e7d15df0c1106a0b861bfb011:/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']