mirror of https://github.com/apache/cloudstack.git
Add 2.2 migration steps
This commit is contained in:
parent
ae942449cf
commit
98c00de7ff
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue