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):
12 # Adding field 'Question.accepted_answer'
13 db.add_column(u'question', 'accepted_answer', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['forum.Answer'], unique=True, null=True), keep_default=False)
15 #if db.backend_name == "postgres" and not "pgfulltext" in settings.DISABLED_MODULES:
16 # db.execute("DROP TRIGGER tsvectorupdate ON question;")
17 # db.execute("ALTER TABLE question DROP COLUMN tsv;")
19 def backwards(self, orm):
21 # Deleting field 'Question.accepted_answer'
22 db.delete_column(u'question', 'accepted_answer_id')
27 'Meta': {'object_name': 'Group'},
28 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
29 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
30 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'})
33 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
34 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
35 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
36 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
37 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
40 'Meta': {'object_name': 'User'},
41 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
42 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
43 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
44 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}),
45 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
46 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
47 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
48 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
49 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
50 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
51 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
52 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}),
53 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
55 'contenttypes.contenttype': {
56 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
57 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
58 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
59 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
60 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
63 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"},
64 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
65 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}),
66 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
67 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
68 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
69 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
70 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
72 'forum.anonymousnode': {
73 'Meta': {'object_name': 'AnonymousNode', '_ormbases': ['forum.Node']},
74 'convertible_to': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}),
75 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}),
76 'validation_hash': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_content'", 'to': "orm['forum.Node']"})
79 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"},
80 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
81 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
82 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}),
83 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}),
84 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
85 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
87 'forum.authkeyuserassociation': {
88 'Meta': {'object_name': 'AuthKeyUserAssociation'},
89 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
90 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
91 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
92 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
93 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"})
96 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"},
97 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
98 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}),
99 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
100 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
101 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
102 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
103 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"})
106 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"},
107 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
108 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}),
109 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
110 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
111 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
112 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
113 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}),
114 'type': ('django.db.models.fields.SmallIntegerField', [], {})
117 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"},
118 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
119 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
120 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
121 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
122 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}),
123 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
124 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}),
125 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'null': 'True', 'to': "orm['forum.Node']"}),
126 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
127 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"})
129 'forum.favoritequestion': {
130 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"},
131 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
132 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
133 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
134 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"})
136 'forum.flaggeditem': {
137 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"},
138 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
139 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
140 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
141 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}),
142 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}),
143 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"})
146 'Meta': {'object_name': 'KeyValue'},
147 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
148 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
149 'value': ('forum.models.utils.PickledObjectField', [], {})
151 'forum.likedcomment': {
152 'Meta': {'object_name': 'LikedComment'},
153 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
154 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
155 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}),
156 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
157 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
160 'Meta': {'object_name': 'MarkedTag'},
161 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
162 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
163 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}),
164 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"})
167 'Meta': {'object_name': 'Node'},
168 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}),
169 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
170 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}),
171 'body': ('django.db.models.fields.TextField', [], {}),
172 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
173 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
174 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
175 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}),
176 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
177 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
178 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}),
179 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}),
180 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
181 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}),
182 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
183 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
184 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}),
185 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
186 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
187 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'})
189 'forum.noderevision': {
190 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'},
191 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}),
192 'body': ('django.db.models.fields.TextField', [], {}),
193 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
194 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}),
195 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
196 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}),
197 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
198 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
199 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'})
202 'Meta': {'object_name': 'Question', 'db_table': "u'question'"},
203 'accepted_answer': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Answer']", 'unique': 'True', 'null': 'True'}),
204 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
205 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
206 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
207 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
208 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
209 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}),
210 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}),
211 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
212 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
213 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}),
214 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True'}),
215 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}),
216 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
217 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
218 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
220 'forum.questionsubscription': {
221 'Meta': {'object_name': 'QuestionSubscription'},
222 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
223 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
224 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 16, 11, 5, 41, 763000)'}),
225 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
226 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
229 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"},
230 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
231 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
232 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}),
233 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
234 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}),
235 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
236 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'})
238 'forum.subscriptionsettings': {
239 'Meta': {'object_name': 'SubscriptionSettings'},
240 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
241 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
242 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
243 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
244 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}),
245 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}),
246 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}),
247 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
248 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
249 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
250 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
251 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
252 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
253 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
254 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
255 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
256 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}),
257 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"})
260 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"},
261 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}),
262 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
263 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
264 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}),
265 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
266 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}),
267 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
268 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'})
271 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']},
272 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
273 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
274 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
275 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
276 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}),
277 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
278 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
279 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
280 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
281 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
282 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}),
283 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
284 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
285 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
286 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}),
287 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'})
289 'forum.validationhash': {
290 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'},
291 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 17, 11, 5, 42, 36000)'}),
292 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
293 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
294 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}),
295 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}),
296 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
299 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"},
300 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
301 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
302 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}),
303 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}),
304 'vote': ('django.db.models.fields.SmallIntegerField', [], {}),
305 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'})
309 complete_apps = ['forum']