Revision d323abef cloudcms/migrations/0001_initial.py
b/cloudcms/migrations/0001_initial.py | ||
---|---|---|
5 | 5 |
from django.db import models |
6 | 6 |
|
7 | 7 |
class Migration(SchemaMigration): |
8 |
|
|
8 |
|
|
9 |
depends_on = ( |
|
10 |
("medialibrary", "0001_initial"), |
|
11 |
) |
|
12 |
|
|
9 | 13 |
def forwards(self, orm): |
10 |
|
|
14 |
|
|
11 | 15 |
# Adding model 'Application' |
12 | 16 |
db.create_table('cloudcms_application', ( |
13 | 17 |
('app_url', self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True)), |
... | ... | |
22 | 26 |
('show_twitter_feed_on_top', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), |
23 | 27 |
)) |
24 | 28 |
db.send_create_signal('cloudcms', ['Application']) |
25 |
|
|
26 |
|
|
29 |
|
|
30 |
|
|
27 | 31 |
def backwards(self, orm): |
28 |
|
|
32 |
|
|
29 | 33 |
# Deleting model 'Application' |
30 | 34 |
db.delete_table('cloudcms_application') |
31 |
|
|
32 |
|
|
35 |
|
|
36 |
|
|
33 | 37 |
models = { |
34 | 38 |
'cloudcms.application': { |
35 | 39 |
'Meta': {'object_name': 'Application'}, |
... | ... | |
68 | 72 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) |
69 | 73 |
} |
70 | 74 |
} |
71 |
|
|
75 |
|
|
72 | 76 |
complete_apps = ['cloudcms'] |
Also available in: Unified diff