Use lower case database table names.

This commit is contained in:
Clement Michaud 2019-12-08 00:22:02 +01:00 committed by Clément Michaud
parent 7c3f8c0460
commit 3faa63e8ed
2 changed files with 16 additions and 12 deletions

View File

@ -1,17 +1,20 @@
Breaking changes 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 Since Authelia is still under active development, it is subject to breaking changes. It's
Docker image but pick a version instead and read this documentation before upgrading. This is where you will get information about breaking recommended not to use the 'latest' Docker image tag blindly but pick a version instead
changes and about what you should do to overcome those changes. 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 ## 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 The principles stay the same, Authelia is still an authenticating and authorizing proxy.
that the system is more reliable overall. This induced breaking the previous data model and the configuration to bring new features Some major changes have been made though so that the system is more reliable overall. This
but fortunately migration tools are provided to ease the task. 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 ### Major updates

View File

@ -1,7 +1,8 @@
package storage package storage
var preferencesTableName = "Preferences" // Keep table names in lower case because some DB does not support upper case.
var identityVerificationTokensTableName = "IdentityVerificationTokens" var preferencesTableName = "user_preferences"
var totpSecretsTableName = "TOTPSecrets" var identityVerificationTokensTableName = "identity_verification_tokens"
var u2fDeviceHandlesTableName = "U2FDeviceHandles" var totpSecretsTableName = "totp_secrets"
var authenticationLogsTableName = "AuthenticationLogs" var u2fDeviceHandlesTableName = "u2f_devices"
var authenticationLogsTableName = "authentication_logs"