Show More
@@ -97,6 +97,13 b' class DbManage(object):' | |||
|
97 | 97 | from rhodecode.lib.dbmigrate.migrate.exceptions import \ |
|
98 | 98 | DatabaseNotControlledError |
|
99 | 99 | |
|
100 | if 'sqlite' in self.dburi: | |
|
101 | print ( | |
|
102 | '********************** WARNING **********************\n' | |
|
103 | 'Make sure your version of sqlite is at least 3.7.X. \n' | |
|
104 | 'Earlier versions are known to fail on some migrations\n' | |
|
105 | '*****************************************************\n' | |
|
106 | ) | |
|
100 | 107 | upgrade = ask_ok('You are about to perform database upgrade, make ' |
|
101 | 108 | 'sure You backed up your database before. ' |
|
102 | 109 | 'Continue ? [y/n]') |
@@ -161,6 +168,9 b' class DbManage(object):' | |||
|
161 | 168 | print ('Adding ldap defaults') |
|
162 | 169 | self.klass.create_ldap_options(skip_existing=True) |
|
163 | 170 | |
|
171 | def step_4(self): | |
|
172 | print ('TODO:') | |
|
173 | ||
|
164 | 174 | upgrade_steps = [0] + range(curr_version + 1, __dbversion__ + 1) |
|
165 | 175 | |
|
166 | 176 | # CALL THE PROPER ORDER OF STEPS TO PERFORM FULL UPGRADE |
General Comments 0
You need to be logged in to leave comments.
Login now