Subversion Repositories SmartDukaan

Rev

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

Rev 17280 Rev 17349
Line 591... Line 591...
591
    url = Field(String(512))
591
    url = Field(String(512))
592
    sql = Field(String(512))
592
    sql = Field(String(512))
593
    expiresat = Field(DateTime)
593
    expiresat = Field(DateTime)
594
    status = Field(Enum('active','inactive'))
594
    status = Field(Enum('active','inactive'))
595
    created = Field(DateTime)
595
    created = Field(DateTime)
-
 
596
    sendsms = Field(Boolean)
-
 
597
    messagetext = Field(String(512))
-
 
598
    smsprocessed = Field(Boolean)
596
    using_options(shortnames=True)
599
    using_options(shortnames=True)
597
    using_table_options(mysql_engine="InnoDB")
600
    using_table_options(mysql_engine="InnoDB")
598
        
601
        
599
def initialize(dbname='dtr', db_hostname="localhost", echo=True):
602
def initialize(dbname='dtr', db_hostname="localhost", echo=True):
600
    #metadata.bind = "sqlite:///inventory-new.sqlite" #need to read it from configserver.
603
    #metadata.bind = "sqlite:///inventory-new.sqlite" #need to read it from configserver.