Changeset 1800


Ignore:
Timestamp:
26.01.2012 21:01:08 (4 weeks ago)
Author:
zmsdev
Message:

SQL-Model-Mapper patched for SQLite handling of quotation marks (2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ZMS/trunk/zmssqldb.py

    r1799 r1800  
    498498                      ucid = cid.upper()  
    499499                      uctype = cl[1].upper() 
    500                       if not ucid == 'CHECK' and not uctype=='KEY' and not uctype.startswith('('): 
     500                      if not ucid in ['CHECK','FOREIGN','PRIMARY'] and not uctype.startswith('KEY') and not uctype.startswith('('): 
    501501                        col = {} 
    502502                        col["id"] = cid 
Note: See TracChangeset for help on using the changeset viewer.