script/lib/iri_tweet/models.py
changeset 255 500cd0405c7a
parent 254 2209e66bb50b
child 261 d84c4aa2a9eb
--- a/script/lib/iri_tweet/models.py	Fri Aug 12 18:17:27 2011 +0200
+++ b/script/lib/iri_tweet/models.py	Wed Aug 17 18:32:07 2011 +0200
@@ -66,6 +66,7 @@
     TWEET_STATUS = {
         'OK' : 1,
         'ERROR' : 2,
+        'NOT_TWEET': 3,
     }
     
     __tablename__ = 'tweet_tweet_log'
@@ -158,7 +159,7 @@
     profile_text_color = Column(String)
     profile_use_background_image = Column(Boolean)
     protected = Column(Boolean)
-    screen_name = Column(String, index=True, unique=True)
+    screen_name = Column(String, index=True)
     show_all_inline_media = Column(Boolean)
     statuses_count = Column(Integer)
     time_zone = Column(String)