184d99de6bca9b9ddf4f10f048bc38012ce6f00b
[wolnelektury.git] /
1 # -*- coding: utf-8 -*-
2 import datetime
3 from south.db import db
4 from south.v2 import SchemaMigration
5 from django.db import models
6
7
8 class Migration(SchemaMigration):
9
10     def forwards(self, orm):
11
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))
14
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))
17
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))
20
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))
23
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))
26
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))
29
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))
32
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))
35
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))
38
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))
41
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))
44
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))
47
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))
50
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))
53
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))
56
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))
59
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))
62
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))
65
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))
68
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))
71
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))
74
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))
77
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))
80
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))
83
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))
86
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))
89
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))
92
93     def backwards(self, orm):
94
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))
97
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))
100
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))
103
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))
106
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))
109
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))
112
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))
115
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))
118
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))
121
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))
124
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))
127
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))
130
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))
133
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))
136
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))
139
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))
142
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))
145
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))
148
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))
151
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))
154
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))
157
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))
160
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))
163
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))
166
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))
169
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))
172
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))
175
176     models = {
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'})
212         }
213     }
214
215     complete_apps = ['infopages']