namespace Umbraco.Cms.Core;
///
/// Describes the reason for the runtime level.
///
public enum RuntimeLevelReason
{
///
/// The reason is unknown.
///
Unknown,
///
/// The code version is lower than the version indicated in web.config, and
/// downgrading Umbraco is not supported.
///
BootFailedCannotDowngrade,
///
/// The runtime cannot connect to the configured database.
///
BootFailedCannotConnectToDatabase,
///
/// The runtime can connect to the configured database, but it cannot
/// retrieve the migrations status.
///
BootFailedCannotCheckUpgradeState,
///
/// An exception was thrown during boot.
///
BootFailedOnException,
///
/// Umbraco is not installed at all.
///
InstallNoVersion,
///
/// A version is specified in web.config but the database is not configured.
///
/// This is a weird state.
InstallNoDatabase,
///
/// A version is specified in web.config and a database is configured, but the
/// database is missing, and installing over a missing database has been enabled.
///
InstallMissingDatabase,
///
/// A version is specified in web.config and a database is configured, but the
/// database is empty, and installing over an empty database has been enabled.
///
InstallEmptyDatabase,
///
/// Umbraco runs an old version.
///
UpgradeOldVersion,
///
/// Umbraco runs the current version but some migrations have not run.
///
UpgradeMigrations,
///
/// Umbraco runs the current version but some package migrations have not run.
///
UpgradePackageMigrations,
///
/// Umbraco is running.
///
Run,
}