Subversion Repositories SmartDukaan

Rev

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

Rev 6903 Rev 6906
Line 276... Line 276...
276
    dob = Field(String(64))
276
    dob = Field(String(64))
277
    guardianName = Field(String(255))
277
    guardianName = Field(String(255))
278
    startDate = Field(DateTime)
278
    startDate = Field(DateTime)
279
    expiryDate = Field(DateTime)
279
    expiryDate = Field(DateTime)
280
    isDeclared = Field(Boolean)
280
    isDeclared = Field(Boolean)
281
    policyDoc  = Field(LargeBinary)
-
 
282
    order = ManyToOne("Order")
281
    order = ManyToOne("Order")
283
    using_options(shortnames=True)
282
    using_options(shortnames=True)
-
 
283
    using_table_options(mysql_engine="InnoDB")
-
 
284
    
-
 
285
class DocumentStore(Entity):
-
 
286
    docType = Field(Integer, primary_key=True, autoincrement=False)
-
 
287
    docSource = Field(Integer, primary_key=True, autoincrement=False)
-
 
288
    document  = Field(LargeBinary)
-
 
289
    using_options(shortnames=True)
284
    using_table_options(mysql_engine="InnoDB")    
290
    using_table_options(mysql_engine="InnoDB")    
285
291