equal
deleted
inserted
replaced
39 |
39 |
40 |
40 |
41 class ISiteGenerations(Interface): |
41 class ISiteGenerations(Interface): |
42 """Site generations interface""" |
42 """Site generations interface""" |
43 |
43 |
|
44 order = Attribute("Order in which generations should be upgraded") |
44 generation = Attribute("Current schema generation") |
45 generation = Attribute("Current schema generation") |
45 |
46 |
46 def evolve(self, site, current=None): |
47 def evolve(self, site, current=None): |
47 """Evolve from current generation to last one""" |
48 """Evolve database from current generation to last one""" |
48 |
49 |
49 |
50 |
50 class IStaticConfigurationManager(IAttributeAnnotatable): |
51 class IStaticConfigurationManager(IAttributeAnnotatable): |
51 """Static configuration manager marker interface""" |
52 """Static configuration manager marker interface""" |
52 |
53 |