diff --git a/BREAKING.md b/BREAKING.md index f45460c25..630e3a9d7 100644 --- a/BREAKING.md +++ b/BREAKING.md @@ -1,17 +1,20 @@ Breaking changes ================ -Since Authelia is still under active development, it is subject to breaking changes. We then recommend you don't blindly use the latest -Docker image but pick a version instead and read this documentation before upgrading. This is where you will get information about breaking -changes and about what you should do to overcome those changes. +Since Authelia is still under active development, it is subject to breaking changes. It's +recommended not to use the 'latest' Docker image tag blindly but pick a version instead +and read this documentation before upgrading. This is where you will get information about +breaking changes and about what you should do to overcome those changes. ## Breaking in v4.0.0 -Authelia has been rewritten in Go for better code maintainability and for performance and security reasons. +Authelia has been rewritten in Go for better code maintainability and for performance and +security reasons. -The principles stay the same, Authelia is still an authenticating and authorizing proxy. Some major changes have been made though so -that the system is more reliable overall. This induced breaking the previous data model and the configuration to bring new features -but fortunately migration tools are provided to ease the task. +The principles stay the same, Authelia is still an authenticating and authorizing proxy. +Some major changes have been made though so that the system is more reliable overall. This +induced breaking the previous data model and the configuration to bring new features but +fortunately migration tools are provided to ease the task. ### Major updates diff --git a/internal/storage/constants.go b/internal/storage/constants.go index 80de0858c..9fffde961 100644 --- a/internal/storage/constants.go +++ b/internal/storage/constants.go @@ -1,7 +1,8 @@ package storage -var preferencesTableName = "Preferences" -var identityVerificationTokensTableName = "IdentityVerificationTokens" -var totpSecretsTableName = "TOTPSecrets" -var u2fDeviceHandlesTableName = "U2FDeviceHandles" -var authenticationLogsTableName = "AuthenticationLogs" +// Keep table names in lower case because some DB does not support upper case. +var preferencesTableName = "user_preferences" +var identityVerificationTokensTableName = "identity_verification_tokens" +var totpSecretsTableName = "totp_secrets" +var u2fDeviceHandlesTableName = "u2f_devices" +var authenticationLogsTableName = "authentication_logs"