X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b77e2d24f4759d6540f20627fd4c70f7d7abcd97..b05172d6b6a148ec45867fb3efd5911471279398:/apps/sponsors/migrations/0001_initial.py?ds=inline 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']