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

Class To0Upgrader

source code

object --+    
         |    
  Upgrader --+
             |
            To0Upgrader

This is executed when there's no schema version defined in the database.

The assumption is that the database reflects the status of 0.8, so it adds the author column in dc.services if necessary (which it's not if the software has been updated to 0.8.1).

Instance Methods

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

Class Methods
 
u_000_addauthor(cls, connection)
add an author column to dc.services if necessary
source code
 
u_010_makeMetastore(cls, connection)
create the meta store
source code

Inherited from Upgrader: iterStatements, updateSchemaversion

Class Variables
  version = -1
hash(x)
Properties

Inherited from object: __class__