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 model 'InfoPage'
12 db.create_table('infopages_infopage', (
13 ('title_de', self.gf('django.db.models.fields.CharField')(max_length=120)),
14 ('page_title', self.gf('django.db.models.fields.CharField')(max_length=120)),
15 ('left_column_uk', self.gf('django.db.models.fields.TextField')(blank=True)),
16 ('right_column_pl', self.gf('django.db.models.fields.TextField')(blank=True)),
17 ('page_title_en', self.gf('django.db.models.fields.CharField')(max_length=120)),
18 ('page_title_es', self.gf('django.db.models.fields.CharField')(max_length=120)),
19 ('left_column_lt', self.gf('django.db.models.fields.TextField')(blank=True)),
20 ('title_fr', self.gf('django.db.models.fields.CharField')(max_length=120)),
21 ('right_column_ru', self.gf('django.db.models.fields.TextField')(blank=True)),
22 ('left_column_fr', self.gf('django.db.models.fields.TextField')(blank=True)),
23 ('title', self.gf('django.db.models.fields.CharField')(max_length=120)),
24 ('title_lt', self.gf('django.db.models.fields.CharField')(max_length=120)),
25 ('right_column', self.gf('django.db.models.fields.TextField')(blank=True)),
26 ('right_column_es', self.gf('django.db.models.fields.TextField')(blank=True)),
27 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
28 ('right_column_en', self.gf('django.db.models.fields.TextField')(blank=True)),
29 ('left_column_de', self.gf('django.db.models.fields.TextField')(blank=True)),
30 ('title_uk', self.gf('django.db.models.fields.CharField')(max_length=120)),
31 ('right_column_fr', self.gf('django.db.models.fields.TextField')(blank=True)),
32 ('left_column', self.gf('django.db.models.fields.TextField')(blank=True)),
33 ('right_column_uk', self.gf('django.db.models.fields.TextField')(blank=True)),
34 ('title_en', self.gf('django.db.models.fields.CharField')(max_length=120)),
35 ('left_column_pl', self.gf('django.db.models.fields.TextField')(blank=True)),
36 ('left_column_ru', self.gf('django.db.models.fields.TextField')(blank=True)),
37 ('right_column_lt', self.gf('django.db.models.fields.TextField')(blank=True)),
38 ('title_es', self.gf('django.db.models.fields.CharField')(max_length=120)),
39 ('page_title_fr', self.gf('django.db.models.fields.CharField')(max_length=120)),
40 ('page_title_uk', self.gf('django.db.models.fields.CharField')(max_length=120)),
41 ('page_title_de', self.gf('django.db.models.fields.CharField')(max_length=120)),
42 ('slug', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=120, db_index=True)),
43 ('page_title_lt', self.gf('django.db.models.fields.CharField')(max_length=120)),
44 ('right_column_de', self.gf('django.db.models.fields.TextField')(blank=True)),
45 ('page_title_pl', self.gf('django.db.models.fields.CharField')(max_length=120)),
46 ('left_column_es', self.gf('django.db.models.fields.TextField')(blank=True)),
47 ('left_column_en', self.gf('django.db.models.fields.TextField')(blank=True)),
48 ('title_pl', self.gf('django.db.models.fields.CharField')(max_length=120)),
49 ('title_ru', self.gf('django.db.models.fields.CharField')(max_length=120)),
50 ('page_title_ru', self.gf('django.db.models.fields.CharField')(max_length=120)),
52 db.send_create_signal('infopages', ['InfoPage'])
55 def backwards(self, orm):
57 # Deleting model 'InfoPage'
58 db.delete_table('infopages_infopage')
62 'infopages.infopage': {
63 'Meta': {'object_name': 'InfoPage'},
64 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
65 'left_column': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
66 'left_column_de': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
67 'left_column_en': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
68 'left_column_es': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
69 'left_column_fr': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
70 'left_column_lt': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
71 'left_column_pl': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
72 'left_column_ru': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
73 'left_column_uk': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
74 'page_title': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
75 'page_title_de': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
76 'page_title_en': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
77 'page_title_es': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
78 'page_title_fr': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
79 'page_title_lt': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
80 'page_title_pl': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
81 'page_title_ru': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
82 'page_title_uk': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
83 'right_column': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
84 'right_column_de': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
85 'right_column_en': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
86 'right_column_es': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
87 'right_column_fr': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
88 'right_column_lt': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
89 'right_column_pl': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
90 'right_column_ru': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
91 'right_column_uk': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
92 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '120', 'db_index': 'True'}),
93 'title': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
94 'title_de': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
95 'title_en': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
96 'title_es': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
97 'title_fr': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
98 'title_lt': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
99 'title_pl': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
100 'title_ru': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
101 'title_uk': ('django.db.models.fields.CharField', [], {'max_length': '120'})
105 complete_apps = ['infopages']