1 # -*- coding: utf-8 -*-
3 from south.db import db
4 from south.v2 import SchemaMigration
5 from django.db import models
8 class Migration(SchemaMigration):
10 def forwards(self, orm):
12 # Changing field 'InfoPage.title_de'
13 db.alter_column(u'infopages_infopage', 'title_de', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
15 # Changing field 'InfoPage.left_column_uk'
16 db.alter_column(u'infopages_infopage', 'left_column_uk', self.gf('django.db.models.fields.TextField')(null=True))
18 # Changing field 'InfoPage.right_column_pl'
19 db.alter_column(u'infopages_infopage', 'right_column_pl', self.gf('django.db.models.fields.TextField')(null=True))
21 # Changing field 'InfoPage.right_column_lt'
22 db.alter_column(u'infopages_infopage', 'right_column_lt', self.gf('django.db.models.fields.TextField')(null=True))
24 # Changing field 'InfoPage.left_column_lt'
25 db.alter_column(u'infopages_infopage', 'left_column_lt', self.gf('django.db.models.fields.TextField')(null=True))
27 # Changing field 'InfoPage.right_column_ru'
28 db.alter_column(u'infopages_infopage', 'right_column_ru', self.gf('django.db.models.fields.TextField')(null=True))
30 # Changing field 'InfoPage.left_column_fr'
31 db.alter_column(u'infopages_infopage', 'left_column_fr', self.gf('django.db.models.fields.TextField')(null=True))
33 # Changing field 'InfoPage.title_lt'
34 db.alter_column(u'infopages_infopage', 'title_lt', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
36 # Changing field 'InfoPage.right_column_es'
37 db.alter_column(u'infopages_infopage', 'right_column_es', self.gf('django.db.models.fields.TextField')(null=True))
39 # Changing field 'InfoPage.title_fr'
40 db.alter_column(u'infopages_infopage', 'title_fr', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
42 # Changing field 'InfoPage.right_column_en'
43 db.alter_column(u'infopages_infopage', 'right_column_en', self.gf('django.db.models.fields.TextField')(null=True))
45 # Changing field 'InfoPage.left_column_de'
46 db.alter_column(u'infopages_infopage', 'left_column_de', self.gf('django.db.models.fields.TextField')(null=True))
48 # Changing field 'InfoPage.title_uk'
49 db.alter_column(u'infopages_infopage', 'title_uk', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
51 # Changing field 'InfoPage.right_column_it'
52 db.alter_column(u'infopages_infopage', 'right_column_it', self.gf('django.db.models.fields.TextField')(null=True))
54 # Changing field 'InfoPage.title_pl'
55 db.alter_column(u'infopages_infopage', 'title_pl', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
57 # Changing field 'InfoPage.right_column_uk'
58 db.alter_column(u'infopages_infopage', 'right_column_uk', self.gf('django.db.models.fields.TextField')(null=True))
60 # Changing field 'InfoPage.title_en'
61 db.alter_column(u'infopages_infopage', 'title_en', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
63 # Changing field 'InfoPage.left_column_pl'
64 db.alter_column(u'infopages_infopage', 'left_column_pl', self.gf('django.db.models.fields.TextField')(null=True))
66 # Changing field 'InfoPage.left_column_it'
67 db.alter_column(u'infopages_infopage', 'left_column_it', self.gf('django.db.models.fields.TextField')(null=True))
69 # Changing field 'InfoPage.title_es'
70 db.alter_column(u'infopages_infopage', 'title_es', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
72 # Changing field 'InfoPage.left_column_ru'
73 db.alter_column(u'infopages_infopage', 'left_column_ru', self.gf('django.db.models.fields.TextField')(null=True))
75 # Changing field 'InfoPage.right_column_de'
76 db.alter_column(u'infopages_infopage', 'right_column_de', self.gf('django.db.models.fields.TextField')(null=True))
78 # Changing field 'InfoPage.left_column_es'
79 db.alter_column(u'infopages_infopage', 'left_column_es', self.gf('django.db.models.fields.TextField')(null=True))
81 # Changing field 'InfoPage.left_column_en'
82 db.alter_column(u'infopages_infopage', 'left_column_en', self.gf('django.db.models.fields.TextField')(null=True))
84 # Changing field 'InfoPage.right_column_fr'
85 db.alter_column(u'infopages_infopage', 'right_column_fr', self.gf('django.db.models.fields.TextField')(null=True))
87 # Changing field 'InfoPage.title_ru'
88 db.alter_column(u'infopages_infopage', 'title_ru', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
90 # Changing field 'InfoPage.title_it'
91 db.alter_column(u'infopages_infopage', 'title_it', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
93 def backwards(self, orm):
95 # Changing field 'InfoPage.title_de'
96 db.alter_column(u'infopages_infopage', 'title_de', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
98 # Changing field 'InfoPage.left_column_uk'
99 db.alter_column(u'infopages_infopage', 'left_column_uk', self.gf('django.db.models.fields.TextField')(null=True))
101 # Changing field 'InfoPage.right_column_pl'
102 db.alter_column(u'infopages_infopage', 'right_column_pl', self.gf('django.db.models.fields.TextField')(null=True))
104 # Changing field 'InfoPage.right_column_lt'
105 db.alter_column(u'infopages_infopage', 'right_column_lt', self.gf('django.db.models.fields.TextField')(null=True))
107 # Changing field 'InfoPage.left_column_lt'
108 db.alter_column(u'infopages_infopage', 'left_column_lt', self.gf('django.db.models.fields.TextField')(null=True))
110 # Changing field 'InfoPage.right_column_ru'
111 db.alter_column(u'infopages_infopage', 'right_column_ru', self.gf('django.db.models.fields.TextField')(null=True))
113 # Changing field 'InfoPage.left_column_fr'
114 db.alter_column(u'infopages_infopage', 'left_column_fr', self.gf('django.db.models.fields.TextField')(null=True))
116 # Changing field 'InfoPage.title_lt'
117 db.alter_column(u'infopages_infopage', 'title_lt', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
119 # Changing field 'InfoPage.right_column_es'
120 db.alter_column(u'infopages_infopage', 'right_column_es', self.gf('django.db.models.fields.TextField')(null=True))
122 # Changing field 'InfoPage.title_fr'
123 db.alter_column(u'infopages_infopage', 'title_fr', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
125 # Changing field 'InfoPage.right_column_en'
126 db.alter_column(u'infopages_infopage', 'right_column_en', self.gf('django.db.models.fields.TextField')(null=True))
128 # Changing field 'InfoPage.left_column_de'
129 db.alter_column(u'infopages_infopage', 'left_column_de', self.gf('django.db.models.fields.TextField')(null=True))
131 # Changing field 'InfoPage.title_uk'
132 db.alter_column(u'infopages_infopage', 'title_uk', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
134 # Changing field 'InfoPage.right_column_it'
135 db.alter_column(u'infopages_infopage', 'right_column_it', self.gf('django.db.models.fields.TextField')(null=True))
137 # Changing field 'InfoPage.title_pl'
138 db.alter_column(u'infopages_infopage', 'title_pl', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
140 # Changing field 'InfoPage.right_column_uk'
141 db.alter_column(u'infopages_infopage', 'right_column_uk', self.gf('django.db.models.fields.TextField')(null=True))
143 # Changing field 'InfoPage.title_en'
144 db.alter_column(u'infopages_infopage', 'title_en', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
146 # Changing field 'InfoPage.left_column_pl'
147 db.alter_column(u'infopages_infopage', 'left_column_pl', self.gf('django.db.models.fields.TextField')(null=True))
149 # Changing field 'InfoPage.left_column_it'
150 db.alter_column(u'infopages_infopage', 'left_column_it', self.gf('django.db.models.fields.TextField')(null=True))
152 # Changing field 'InfoPage.title_es'
153 db.alter_column(u'infopages_infopage', 'title_es', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
155 # Changing field 'InfoPage.left_column_ru'
156 db.alter_column(u'infopages_infopage', 'left_column_ru', self.gf('django.db.models.fields.TextField')(null=True))
158 # Changing field 'InfoPage.right_column_de'
159 db.alter_column(u'infopages_infopage', 'right_column_de', self.gf('django.db.models.fields.TextField')(null=True))
161 # Changing field 'InfoPage.left_column_es'
162 db.alter_column(u'infopages_infopage', 'left_column_es', self.gf('django.db.models.fields.TextField')(null=True))
164 # Changing field 'InfoPage.left_column_en'
165 db.alter_column(u'infopages_infopage', 'left_column_en', self.gf('django.db.models.fields.TextField')(null=True))
167 # Changing field 'InfoPage.right_column_fr'
168 db.alter_column(u'infopages_infopage', 'right_column_fr', self.gf('django.db.models.fields.TextField')(null=True))
170 # Changing field 'InfoPage.title_ru'
171 db.alter_column(u'infopages_infopage', 'title_ru', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
173 # Changing field 'InfoPage.title_it'
174 db.alter_column(u'infopages_infopage', 'title_it', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
177 u'infopages.infopage': {
178 'Meta': {'ordering': "('main_page', 'slug')", 'object_name': 'InfoPage'},
179 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
180 'left_column': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
181 'left_column_de': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
182 'left_column_en': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
183 'left_column_es': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
184 'left_column_fr': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
185 'left_column_it': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
186 'left_column_lt': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
187 'left_column_pl': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
188 'left_column_ru': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
189 'left_column_uk': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
190 'main_page': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
191 'right_column': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
192 'right_column_de': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
193 'right_column_en': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
194 'right_column_es': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
195 'right_column_fr': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
196 'right_column_it': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
197 'right_column_lt': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
198 'right_column_pl': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
199 'right_column_ru': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
200 'right_column_uk': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
201 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '120'}),
202 'title': ('django.db.models.fields.CharField', [], {'max_length': '120', 'blank': 'True'}),
203 'title_de': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}),
204 'title_en': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}),
205 'title_es': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}),
206 'title_fr': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}),
207 'title_it': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}),
208 'title_lt': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}),
209 'title_pl': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}),
210 'title_ru': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}),
211 'title_uk': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'})
215 complete_apps = ['infopages']