3 from south.db import db
4 from south.v2 import SchemaMigration
5 from django.db import models
7 class Migration(SchemaMigration):
9 def forwards(self, orm):
11 # Adding field 'Application.extra_styles'
12 db.add_column('cloudcms_application', 'extra_styles', self.gf('django.db.models.fields.TextField')(default='', blank=True), keep_default=False)
15 def backwards(self, orm):
17 # Deleting field 'Application.extra_styles'
18 db.delete_column('cloudcms_application', 'extra_styles')
22 'cloudcms.application': {
23 'Meta': {'object_name': 'Application'},
24 'app_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
25 'code': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
26 'extra_styles': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
27 'facebook_username': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
28 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
29 'linked_in_username': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
30 'logo': ('feincms.module.medialibrary.fields.MediaFileForeignKey', [], {'to': "orm['medialibrary.MediaFile']", 'null': 'True', 'blank': 'True'}),
31 'show_twitter_feed_on_top': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
32 'site': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['sites.Site']"}),
33 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
34 'twitter_username': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'})
36 'medialibrary.category': {
37 'Meta': {'object_name': 'Category'},
38 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
39 'parent': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'children'", 'null': 'True', 'to': "orm['medialibrary.Category']"}),
40 'slug': ('django.db.models.fields.SlugField', [], {'max_length': '150', 'db_index': 'True'}),
41 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'})
43 'medialibrary.mediafile': {
44 'Meta': {'object_name': 'MediaFile'},
45 'categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['medialibrary.Category']", 'null': 'True', 'blank': 'True'}),
46 'copyright': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
47 'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
48 'file': ('django.db.models.fields.files.FileField', [], {'max_length': '255'}),
49 'file_size': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
50 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
51 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'})
54 'Meta': {'object_name': 'Site', 'db_table': "'django_site'"},
55 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
56 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
57 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
61 complete_apps = ['cloudcms']