public static void SetDatabaseVersion(CruiseDatastore db, string newVersion) { string command = String.Format("UPDATE Globals SET Value = '{0}' WHERE Block = 'Database' AND Key = 'Version';", newVersion); db.Execute(command); db.LogMessage($"Updated structure version to {newVersion}"); }