Package ZenModel :: Package migrate :: Module devicepriority
[show private | hide private]
[frames | no frames]

Module ZenModel.migrate.devicepriority

Add a DevicePriority column to the status and history tables
Classes
DevicePriority Add a DevicePriority column to the status and history tables

Variable Summary
str __version__ = ''
int MYSQL_ERROR_TRIGGER_DOESNT_EXIST = 1360                                                                  
str trigger = '\n    CREATE TRIGGER status_delete BEFORE DEL...

Variable Details

__version__

Type:
str
Value:
''                                                                     

MYSQL_ERROR_TRIGGER_DOESNT_EXIST

Type:
int
Value:
1360                                                                  

trigger

Type:
str
Value:
'''
    CREATE TRIGGER status_delete BEFORE DELETE ON status
    FOR EACH ROW INSERT INTO history VALUES (
            OLD.dedupid,
            OLD.evid,
            OLD.device,
            OLD.component,
            OLD.eventClass,
...                                                                    

Generated by Epydoc 2.1 on Thu Aug 16 09:55:11 2007 http://epydoc.sf.net