3 from south.db import db
4 from south.v2 import SchemaMigration
5 from django.db import models
6 from django.conf import settings
8 class Migration(SchemaMigration):
10 def forwards(self, orm):
11 if db.backend_name == "postgres" and not "pgfulltext" in settings.DISABLED_MODULES:
13 import forum_modules.pgfulltext.management
18 def backwards(self, orm):
19 "Write your backwards methods here."
23 'Meta': {'object_name': 'Group'},
24 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
25 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
26 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'})
29 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
30 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
31 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
32 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
33 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
36 'Meta': {'object_name': 'User'},
37 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
38 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
39 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
40 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}),
41 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
42 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
43 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
44 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
45 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
46 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
47 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
48 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}),
49 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
51 'contenttypes.contenttype': {
52 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
53 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
54 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
55 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
56 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
59 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"},
60 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
61 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}),
62 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
63 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
64 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
65 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
66 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
68 'forum.anonymousnode': {
69 'Meta': {'object_name': 'AnonymousNode', '_ormbases': ['forum.Node']},
70 'convertible_to': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}),
71 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}),
72 'validation_hash': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_content'", 'to': "orm['forum.Node']"})
75 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"},
76 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
77 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
78 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}),
79 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}),
80 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
81 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
83 'forum.authkeyuserassociation': {
84 'Meta': {'object_name': 'AuthKeyUserAssociation'},
85 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
86 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
87 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
88 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
89 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"})
92 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"},
93 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
94 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}),
95 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
96 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
97 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
98 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
99 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"})
102 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"},
103 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
104 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}),
105 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
106 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
107 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
108 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
109 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}),
110 'type': ('django.db.models.fields.SmallIntegerField', [], {})
112 'forum.favoritequestion': {
113 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"},
114 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
115 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
116 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
117 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"})
119 'forum.flaggeditem': {
120 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"},
121 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
122 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
123 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
124 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}),
125 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}),
126 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"})
129 'Meta': {'object_name': 'KeyValue'},
130 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
131 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
132 'value': ('forum.models.utils.PickledObjectField', [], {})
135 'Meta': {'object_name': 'MarkedTag'},
136 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
137 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
138 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}),
139 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"})
142 'Meta': {'object_name': 'Node'},
143 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}),
144 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}),
145 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
146 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}),
147 'body': ('django.db.models.fields.TextField', [], {}),
148 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
149 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
150 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
151 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}),
152 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
153 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
154 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}),
155 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}),
156 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
157 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}),
158 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
159 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
160 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}),
161 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
162 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
163 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'})
165 'forum.noderevision': {
166 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'},
167 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}),
168 'body': ('django.db.models.fields.TextField', [], {}),
169 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
170 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}),
171 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
172 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}),
173 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
174 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
175 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'})
177 'forum.openidassociation': {
178 'Meta': {'object_name': 'OpenIdAssociation'},
179 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}),
180 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
181 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
182 'issued': ('django.db.models.fields.IntegerField', [], {}),
183 'lifetime': ('django.db.models.fields.IntegerField', [], {}),
184 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}),
185 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'})
187 'forum.openidnonce': {
188 'Meta': {'object_name': 'OpenIdNonce'},
189 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
190 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
191 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
192 'timestamp': ('django.db.models.fields.IntegerField', [], {})
195 'Meta': {'object_name': 'Question', 'db_table': "u'question'"},
196 'accepted_answer': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'question_accepting'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Answer']"}),
197 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
198 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
199 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
200 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
201 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}),
202 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}),
203 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
204 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
205 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'null': 'True', 'to': "orm['forum.User']"}),
206 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True'}),
207 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}),
208 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
209 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
210 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
212 'forum.questionsubscription': {
213 'Meta': {'object_name': 'QuestionSubscription'},
214 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
215 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
216 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 17, 2, 50, 12, 337000)'}),
217 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
218 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
221 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"},
222 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
223 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
224 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'null': 'True', 'to': "orm['forum.Node']"}),
225 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
226 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}),
227 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
228 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}),
229 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
230 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'})
232 'forum.subscriptionsettings': {
233 'Meta': {'object_name': 'SubscriptionSettings'},
234 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
235 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
236 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
237 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
238 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}),
239 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}),
240 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}),
241 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
242 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
243 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
244 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
245 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
246 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
247 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
248 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
249 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
250 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}),
251 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"})
254 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"},
255 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}),
256 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
257 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
258 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}),
259 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
260 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}),
261 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
262 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'})
265 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']},
266 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
267 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
268 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
269 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
270 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}),
271 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
272 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
273 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
274 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
275 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
276 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}),
277 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
278 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
279 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
280 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}),
281 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'})
283 'forum.validationhash': {
284 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'},
285 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 18, 2, 50, 12, 421000)'}),
286 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
287 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
288 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}),
289 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}),
290 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
293 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"},
294 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
295 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
296 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}),
297 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}),
298 'vote': ('django.db.models.fields.SmallIntegerField', [], {}),
299 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'})
303 complete_apps = ['forum']