Package gavo :: Package user :: Module upgrade :: Class To6Upgrader
[frames] | no frames]

Class To6Upgrader

source code

object --+    
         |    
  Upgrader --+
             |
            To6Upgrader

Instance Methods

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods
 
u_000_remetaObscore(cls, connection)
update obscore metadata to fix the erroneous id
source code

Inherited from Upgrader: iterStatements, updateSchemaversion

Class Variables
  version = 5
hash(x)
  u_010_addPreviewColumn = 'ALTER TABLE dc.products ADD COLUMN p...
  u_020_dedefaultPreviewColumn = 'ALTER TABLE dc.products ALTER ...
  u_30_addDatalinkColumn = 'ALTER TABLE dc.products ADD COLUMN d...
Properties

Inherited from object: __class__

Class Variable Details

u_010_addPreviewColumn

Value:
'ALTER TABLE dc.products ADD COLUMN preview TEXT DEFAULT \'AUTO\''

u_020_dedefaultPreviewColumn

Value:
'ALTER TABLE dc.products ALTER COLUMN preview DROP DEFAULT'

u_30_addDatalinkColumn

Value:
'ALTER TABLE dc.products ADD COLUMN datalink TEXT'