Subversion Repositories SmartDukaan

Rev

Rev 15393 | Rev 15532 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15393 Rev 15424
Line 244... Line 244...
244
    loginTime = Field(DateTime)
244
    loginTime = Field(DateTime)
245
    logoutTime = Field(DateTime)
245
    logoutTime = Field(DateTime)
246
    created = Field(DateTime, default=func.now())   
246
    created = Field(DateTime, default=func.now())   
247
    using_options(shortnames=True)
247
    using_options(shortnames=True)
248
    using_table_options(mysql_engine="InnoDB")
248
    using_table_options(mysql_engine="InnoDB")
-
 
249
 
-
 
250
class Clicks(Entity):
-
 
251
    id = Field(Integer(unsigned=True), primary_key=True)
-
 
252
    user_id = Field(Integer(unsigned=True))
-
 
253
    tag = Field(String(20))
-
 
254
    created = Field(DateTime, default=func.now())   
-
 
255
    using_options(shortnames=True)
-
 
256
    using_table_options(mysql_engine="InnoDB")
249
    
257
    
250
class FetchDataHistory(Entity):
258
class FetchDataHistory(Entity):
251
    id = Field(Integer(unsigned=True), primary_key=True)
259
    id = Field(Integer(unsigned=True), primary_key=True)
252
    retailer_id = Field(Integer(unsigned=True))
260
    retailer_id = Field(Integer(unsigned=True))
253
    agent_id = Field(Integer(unsigned=True))
261
    agent_id = Field(Integer(unsigned=True))