12345678910111213141516171819202122232425262728293031323334 |
- # -*- coding: utf-8 -*-
- from south.utils import datetime_utils as datetime
- from south.db import db
- from south.v2 import SchemaMigration
- from django.db import models
- class Migration(SchemaMigration):
- def forwards(self, orm):
- # Deleting model 'ForumRole'
- db.delete_table(u'acl_forumrole')
- def backwards(self, orm):
- # Adding model 'ForumRole'
- db.create_table(u'acl_forumrole', (
- ('pickled_permissions', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
- (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ))
- db.send_create_signal(u'acl', ['ForumRole'])
- models = {
- u'acl.role': {
- 'Meta': {'object_name': 'Role'},
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pickled_permissions': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'})
- }
- }
- complete_apps = ['acl']
|