Subversion Repositories SmartDukaan

Rev

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

Rev 16913 Rev 16928
Line 376... Line 376...
376
    coupon = Field(String(64))
376
    coupon = Field(String(64))
377
    cashback = Field(Integer)
377
    cashback = Field(Integer)
378
    created = Field(DateTime,default=func.now())
378
    created = Field(DateTime,default=func.now())
379
    using_options(shortnames=True)
379
    using_options(shortnames=True)
380
    using_table_options(mysql_engine="InnoDB")
380
    using_table_options(mysql_engine="InnoDB")
-
 
381
    
-
 
382
 
-
 
383
class paytm_coupon_non_usages(Entity):
-
 
384
    id = Field(Integer, primary_key= True)
-
 
385
    user_id = Field(Integer)
-
 
386
    order_id = Field(Integer)
-
 
387
    created = Field(DateTime,default=func.now())
-
 
388
    using_options(shortnames=True)
-
 
389
    using_table_options(mysql_engine="InnoDB")
-
 
390
 
381
     
391
     
382
    
392
    
383
class NotificationViews(Entity):
393
class NotificationViews(Entity):
384
    id = Field(Integer, primary_key= True)
394
    id = Field(Integer, primary_key= True)
385
    user_id = Field(Integer(unsigned=True))
395
    user_id = Field(Integer(unsigned=True))