Subversion Repositories SmartDukaan

Rev

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

Rev 9575 Rev 9608
Line 297... Line 297...
297
    
297
    
298
class DataInsuranceDetailForOrder(Entity):
298
class DataInsuranceDetailForOrder(Entity):
299
    id = Field(Integer, primary_key=True, autoincrement=True)
299
    id = Field(Integer, primary_key=True, autoincrement=True)
300
    startDate = Field(DateTime)
300
    startDate = Field(DateTime)
301
    expiryDate = Field(DateTime)
301
    expiryDate = Field(DateTime)
302
    isDeclared = Field(Boolean, default=0)
302
    isDeclared = Field(Boolean, default=0, server_default="0")
303
    order = ManyToOne("Order")
303
    order = ManyToOne("Order")
304
    using_options(shortnames=True)
304
    using_options(shortnames=True)
305
    using_table_options(mysql_engine="InnoDB")
305
    using_table_options(mysql_engine="InnoDB")
306
    
306
    
307
class DocumentStore(Entity):
307
class DocumentStore(Entity):