X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b77e2d24f4759d6540f20627fd4c70f7d7abcd97..17bd0c21add8a0b41a57f6f531dc0a90bbd0a393:/apps/sponsors/migrations/0001_initial.py diff --git a/apps/sponsors/migrations/0001_initial.py b/apps/sponsors/migrations/0001_initial.py index 5721bcc72..daccec53b 100644 --- a/apps/sponsors/migrations/0001_initial.py +++ b/apps/sponsors/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 'Sponsor' db.create_table('sponsors_sponsor', ( ('url', self.gf('django.db.models.fields.URLField')(max_length=200, blank=True)), @@ -26,17 +26,17 @@ class Migration(SchemaMigration): ('name', self.gf('django.db.models.fields.CharField')(max_length=120)), )) db.send_create_signal('sponsors', ['SponsorPage']) - - + + def backwards(self, orm): - + # Deleting model 'Sponsor' db.delete_table('sponsors_sponsor') # Deleting model 'SponsorPage' db.delete_table('sponsors_sponsorpage') - - + + models = { 'sponsors.sponsor': { 'Meta': {'object_name': 'Sponsor'}, @@ -54,5 +54,5 @@ class Migration(SchemaMigration): 'sponsors': ('sponsors.fields.JSONField', [], {'default': '{}'}) } } - + complete_apps = ['sponsors']