3 from south.db import db
\r
4 from south.v2 import SchemaMigration
\r
5 from django.db import models
\r
7 class Migration(SchemaMigration):
\r
9 def forwards(self, orm):
\r
11 # Adding model 'NodeState'
\r
12 db.create_table('forum_nodestate', (
\r
13 ('node', self.gf('django.db.models.fields.related.ForeignKey')(related_name='state', to=orm['forum.Node'])),
\r
14 ('state_type', self.gf('django.db.models.fields.CharField')(max_length=16)),
\r
15 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
\r
16 ('action', self.gf('django.db.models.fields.related.ForeignKey')(related_name='node_state', unique=True, to=orm['forum.Action'])),
\r
18 db.send_create_signal('forum', ['NodeState'])
\r
20 # Changing field 'Award.action'
\r
21 db.alter_column('forum_award', 'action_id', self.gf('django.db.models.fields.related.OneToOneField')(unique=True, to=orm['forum.Action']))
\r
23 # Adding field 'Node.state_string'
\r
24 db.add_column('forum_node', 'state_string', self.gf('django.db.models.fields.TextField')(default=''), keep_default=False)
\r
26 # Changing field 'Flag.action'
\r
27 db.alter_column('forum_flag', 'action_id', self.gf('django.db.models.fields.related.OneToOneField')(unique=True, to=orm['forum.Action']))
\r
29 # Changing field 'Vote.action'
\r
30 db.alter_column('forum_vote', 'action_id', self.gf('django.db.models.fields.related.OneToOneField')(unique=True, to=orm['forum.Action']))
\r
33 def backwards(self, orm):
\r
35 # Deleting model 'NodeState'
\r
36 db.delete_table('forum_nodestate')
\r
38 # Changing field 'Award.action'
\r
39 db.alter_column('forum_award', 'action_id', self.gf('django.db.models.fields.related.ForeignKey')(unique=True, to=orm['forum.Action']))
\r
41 # Deleting field 'Node.state_string'
\r
42 db.delete_column('forum_node', 'state_string')
\r
44 # Changing field 'Flag.action'
\r
45 db.alter_column('forum_flag', 'action_id', self.gf('django.db.models.fields.related.ForeignKey')(unique=True, to=orm['forum.Action']))
\r
47 # Changing field 'Vote.action'
\r
48 db.alter_column('forum_vote', 'action_id', self.gf('django.db.models.fields.related.ForeignKey')(unique=True, to=orm['forum.Action']))
\r
53 'Meta': {'object_name': 'Group'},
\r
54 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
55 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
\r
56 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
\r
58 'auth.permission': {
\r
59 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
\r
60 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
\r
61 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
\r
62 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
63 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
\r
66 'Meta': {'object_name': 'User'},
\r
67 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
68 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
\r
69 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
\r
70 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
\r
71 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
72 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
73 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
74 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
75 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
76 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
\r
77 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
\r
78 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
\r
79 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
\r
81 'contenttypes.contenttype': {
\r
82 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
\r
83 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
\r
84 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
85 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
\r
86 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
\r
89 'Meta': {'object_name': 'Action'},
\r
90 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
91 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
\r
92 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
93 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
\r
94 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
95 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
\r
96 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}),
\r
97 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
98 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
\r
99 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}),
\r
100 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"})
\r
102 'forum.actionrepute': {
\r
103 'Meta': {'object_name': 'ActionRepute'},
\r
104 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}),
\r
105 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
106 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
107 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
108 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}),
\r
109 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'})
\r
111 'forum.authkeyuserassociation': {
\r
112 'Meta': {'object_name': 'AuthKeyUserAssociation'},
\r
113 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
114 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
115 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
\r
116 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
\r
117 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"})
\r
120 'Meta': {'unique_together': "(('user', 'badge', 'node'),)", 'object_name': 'Award'},
\r
121 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'award'", 'unique': 'True', 'to': "orm['forum.Action']"}),
\r
122 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
123 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.Badge']"}),
\r
124 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
125 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}),
\r
126 'trigger': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'null': 'True', 'to': "orm['forum.Action']"}),
\r
127 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
\r
130 'Meta': {'object_name': 'Badge'},
\r
131 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
\r
132 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'symmetrical': 'False', 'through': "orm['forum.Award']", 'to': "orm['forum.User']"}),
\r
133 'cls': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}),
\r
134 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
135 'type': ('django.db.models.fields.SmallIntegerField', [], {})
\r
138 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Flag'},
\r
139 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'flag'", 'unique': 'True', 'to': "orm['forum.Action']"}),
\r
140 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
141 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
142 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.Node']"}),
\r
143 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
\r
144 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.User']"})
\r
146 'forum.keyvalue': {
\r
147 'Meta': {'object_name': 'KeyValue'},
\r
148 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
149 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
\r
150 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'})
\r
152 'forum.markedtag': {
\r
153 'Meta': {'object_name': 'MarkedTag'},
\r
154 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
155 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
\r
156 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}),
\r
157 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"})
\r
160 'Meta': {'object_name': 'Node'},
\r
161 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}),
\r
162 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}),
\r
163 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
164 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}),
\r
165 'body': ('django.db.models.fields.TextField', [], {}),
\r
166 'deleted': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'deleted_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}),
\r
167 'extra_action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'extra_node'", 'null': 'True', 'to': "orm['forum.Action']"}),
\r
168 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
169 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}),
\r
170 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
171 'in_moderation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'moderated_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}),
\r
172 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
173 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}),
\r
174 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}),
\r
175 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
176 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}),
\r
177 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}),
\r
178 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
179 'state_string': ('django.db.models.fields.TextField', [], {'default': "''"}),
\r
180 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
\r
181 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'symmetrical': 'False', 'to': "orm['forum.Tag']"}),
\r
182 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
\r
183 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'})
\r
185 'forum.noderevision': {
\r
186 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'},
\r
187 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}),
\r
188 'body': ('django.db.models.fields.TextField', [], {}),
\r
189 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
190 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}),
\r
191 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
192 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}),
\r
193 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
\r
194 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
\r
195 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'})
\r
197 'forum.nodestate': {
\r
198 'Meta': {'unique_together': "(('node', 'state_type'),)", 'object_name': 'NodeState'},
\r
199 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'node_state'", 'unique': 'True', 'to': "orm['forum.Action']"}),
\r
200 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
201 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'state'", 'to': "orm['forum.Node']"}),
\r
202 'state_type': ('django.db.models.fields.CharField', [], {'max_length': '16'})
\r
204 'forum.openidassociation': {
\r
205 'Meta': {'object_name': 'OpenIdAssociation'},
\r
206 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}),
\r
207 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
\r
208 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
209 'issued': ('django.db.models.fields.IntegerField', [], {}),
\r
210 'lifetime': ('django.db.models.fields.IntegerField', [], {}),
\r
211 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}),
\r
212 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'})
\r
214 'forum.openidnonce': {
\r
215 'Meta': {'object_name': 'OpenIdNonce'},
\r
216 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
217 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
\r
218 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
\r
219 'timestamp': ('django.db.models.fields.IntegerField', [], {})
\r
221 'forum.questionsubscription': {
\r
222 'Meta': {'object_name': 'QuestionSubscription'},
\r
223 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
224 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
225 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 24, 12, 24, 54, 587000)'}),
\r
226 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}),
\r
227 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
\r
229 'forum.subscriptionsettings': {
\r
230 'Meta': {'object_name': 'SubscriptionSettings'},
\r
231 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
232 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
233 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
234 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
235 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}),
\r
236 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}),
\r
237 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}),
\r
238 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
239 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
240 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
241 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
242 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
243 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
244 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
245 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
246 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
247 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}),
\r
248 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"})
\r
251 'Meta': {'object_name': 'Tag'},
\r
252 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}),
\r
253 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
254 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
255 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
256 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
257 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'symmetrical': 'False', 'through': "orm['forum.MarkedTag']", 'to': "orm['forum.User']"}),
\r
258 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
\r
259 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'})
\r
262 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']},
\r
263 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
\r
264 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
\r
265 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
\r
266 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
267 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
\r
268 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
269 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
270 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
\r
271 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
\r
272 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
\r
273 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
\r
274 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'symmetrical': 'False', 'through': "orm['forum.QuestionSubscription']", 'to': "orm['forum.Node']"}),
\r
275 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}),
\r
276 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'})
\r
278 'forum.validationhash': {
\r
279 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'},
\r
280 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 25, 12, 24, 54, 760000)'}),
\r
281 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
\r
282 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
283 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}),
\r
284 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}),
\r
285 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
\r
288 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Vote'},
\r
289 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'vote'", 'unique': 'True', 'to': "orm['forum.Action']"}),
\r
290 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
291 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.Node']"}),
\r
292 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}),
\r
293 'value': ('django.db.models.fields.SmallIntegerField', [], {}),
\r
294 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'})
\r
298 complete_apps = ['forum']
\r