be a bit more verbose about what we are doing on the migration
side so that people don't think we're hung.0.6.0-stable
parent
340ef33e2e
commit
e1409e0c04
|
@ -122,6 +122,13 @@ namespace OpenSim.Data
|
|||
version = FindVersion(_type);
|
||||
|
||||
SortedList<int, string> migrations = GetMigrationsAfter(version);
|
||||
if (migrations.Count < 1)
|
||||
return;
|
||||
|
||||
// to prevent people from killing long migrations.
|
||||
m_log.InfoFormat("[MIGRATIONS] Upgrading {0} to latest revision.", _type);
|
||||
m_log.Info("[MIGRATIONS] NOTE: this may take a while, don't interupt this process!");
|
||||
|
||||
DbCommand cmd = _conn.CreateCommand();
|
||||
foreach (KeyValuePair<int, string> kvp in migrations)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue