authelia/internal/storage
James Elliott ea1fae6491
[MISC] Storage Schema Versioning Model (#1057)
* [MISC] Storage Schema Versioning Model 

* fixup go.sum
* remove pq
* fix int to text issue
* fix incorrect SQL text
* use key_name vs key
* use transactions for all queries during upgrades
* fix missing parenthesis
* move upgrades to their own file
* add provider name for future usage in upgrades
* fix missing create config table values
* fix using the const instead of the provider SQL
* import logging once and reuse
* update docs
* remove db at suite teardown
* apply suggestions from code review
* fix mysql
* make errors more uniform
* style changes
* remove commented code sections
* remove commented code sections
* add schema version type
* add sql mock unit tests
* go mod tidy
* test blank row situations
2020-07-16 15:56:08 +10:00
..
const.go [MISC] Storage Schema Versioning Model (#1057) 2020-07-16 15:56:08 +10:00
errors.go Introduce hasU2F and hasTOTP in user info. 2019-12-08 14:31:48 +01:00
mysql_provider.go [MISC] Storage Schema Versioning Model (#1057) 2020-07-16 15:56:08 +10:00
postgres_provider.go [MISC] Storage Schema Versioning Model (#1057) 2020-07-16 15:56:08 +10:00
provider_mock.go [MISC] Update durations to notation format and housekeeping (#824) 2020-04-05 22:37:21 +10:00
provider.go Fix spelling errors 2020-01-10 11:33:18 +01:00
sql_provider_test.go [MISC] Storage Schema Versioning Model (#1057) 2020-07-16 15:56:08 +10:00
sql_provider.go [MISC] Storage Schema Versioning Model (#1057) 2020-07-16 15:56:08 +10:00
sqlite_provider.go [MISC] Storage Schema Versioning Model (#1057) 2020-07-16 15:56:08 +10:00
sqlmock_provider.go [MISC] Storage Schema Versioning Model (#1057) 2020-07-16 15:56:08 +10:00
types.go [MISC] Storage Schema Versioning Model (#1057) 2020-07-16 15:56:08 +10:00
upgrades.go [MISC] Storage Schema Versioning Model (#1057) 2020-07-16 15:56:08 +10:00