Subversion Repositories SmartDukaan

Rev

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

Rev 7883 Rev 7987
Line 126... Line 126...
126
class PromotionTracker(Entity):
126
class PromotionTracker(Entity):
127
    coupon_code = Field(String(20))
127
    coupon_code = Field(String(20))
128
    transaction_id = Field(Integer)
128
    transaction_id = Field(Integer)
129
    user_id = Field(Integer)
129
    user_id = Field(Integer)
130
    applied_on = Field(DateTime)
130
    applied_on = Field(DateTime)
-
 
131
    promotion_id = Field(Integer)
131
    using_options(shortnames = True)
132
    using_options(shortnames = True)
132
    using_table_options(mysql_engine = "InnoDB")
133
    using_table_options(mysql_engine = "InnoDB")
133
 
134
 
134
class RechargeVoucher(Entity):
135
class RechargeVoucher(Entity):
135
    id = Field(Integer, primary_key = True, autoincrement = True)
136
    id = Field(Integer, primary_key = True, autoincrement = True)