Add 2.2 migration steps

This commit is contained in:
Manuel Amador (Rudd-O) 2010-09-01 11:00:05 -07:00
parent ae942449cf
commit 98c00de7ff
1 changed files with 12 additions and 0 deletions

View File

@ -156,6 +156,18 @@ class From21To213(cloud_utils.MigrationStep):
to_level = "2.1.3"
def run(self): self.context.run_sql_resource("index-212to213.sql")
class From213To22data(cloud_utils.MigrationStep):
def __str__(self): return "Migrating data"
from_level = "2.1.3"
to_level = "2.2-01"
def run(self): self.context.run_sql_resource("data-21to22.sql")
class From22dataTo22(cloud_utils.MigrationStep):
def __str__(self): return "Migrating indexes"
from_level = "2.2-01"
to_level = "2.2"
def run(self): self.context.run_sql_resource("index-21to22.sql")
# command line harness functions
def setup_logging(level):