X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/58e0903a3f0e1e105a11638b18b588e9eb6a8b9e..29d7fc838e192b6a18dd31d81fe9ab1bc37b6cbb:/apps/toolbar/migrations/0001_initial.py?ds=inline diff --git a/apps/toolbar/migrations/0001_initial.py b/apps/toolbar/migrations/0001_initial.py index 974ea662..5a6f27c6 100644 --- a/apps/toolbar/migrations/0001_initial.py +++ b/apps/toolbar/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 'ButtonGroup' db.create_table('toolbar_buttongroup', ( ('position', self.gf('django.db.models.fields.IntegerField')(default=0)), @@ -45,10 +45,10 @@ class Migration(SchemaMigration): ('name', self.gf('django.db.models.fields.CharField')(max_length=64, primary_key=True)), )) db.send_create_signal('toolbar', ['Scriptlet']) - - + + def backwards(self, orm): - + # Deleting model 'ButtonGroup' db.delete_table('toolbar_buttongroup') @@ -60,8 +60,8 @@ class Migration(SchemaMigration): # Deleting model 'Scriptlet' db.delete_table('toolbar_scriptlet') - - + + models = { 'toolbar.button': { 'Meta': {'object_name': 'Button'}, @@ -89,5 +89,5 @@ class Migration(SchemaMigration): 'name': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True'}) } } - + complete_apps = ['toolbar']