Subversion Repositories SmartDukaan

Rev

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

Rev 7516 Rev 7770
Line 237... Line 237...
237
    color = Field(String(255))
237
    color = Field(String(255))
238
    category = Field(String(255))
238
    category = Field(String(255))
239
    handlingTime = Field(Integer)
239
    handlingTime = Field(Integer)
240
    isCustomTime = Field(Boolean)
240
    isCustomTime = Field(Boolean)
241
    category_code = Field(Integer, default=0, server_default="0")
241
    category_code = Field(Integer, default=0, server_default="0")
-
 
242
    mfnPriceLastUpdatedOn = Field(DateTime)
-
 
243
    fbaPriceLastUpdatedOn = Field(DateTime)
-
 
244
    mfnPriceLastUpdatedOnSc = Field(DateTime)
-
 
245
    fbaPriceLastUpdatedOnSc = Field(DateTime)
242
    using_options(shortnames=True)
246
    using_options(shortnames=True)
243
    using_table_options(mysql_engine="InnoDB")
247
    using_table_options(mysql_engine="InnoDB")
244
    
248
    
245
def initialize(dbname='catalog', db_hostname="localhost"):
249
def initialize(dbname='catalog', db_hostname="localhost"):
246
    #metadata.bind = "sqlite:///inventory-new.sqlite" #need to read it from configserver.
250
    #metadata.bind = "sqlite:///inventory-new.sqlite" #need to read it from configserver.