2021-11-23 09:45:38 +00:00
|
|
|
---
|
2022-06-15 07:51:47 +00:00
|
|
|
title: "Migrations"
|
|
|
|
description: "Storage Migrations"
|
|
|
|
lead: "A migration ."
|
2022-06-28 05:27:14 +00:00
|
|
|
date: 2021-11-23T20:45:38+11:00
|
2022-06-15 07:51:47 +00:00
|
|
|
draft: false
|
|
|
|
images: []
|
|
|
|
menu:
|
|
|
|
configuration:
|
|
|
|
parent: "storage"
|
|
|
|
weight: 106200
|
|
|
|
toc: true
|
|
|
|
aliases:
|
|
|
|
- /docs/configuration/storage/migrations.html
|
2021-11-23 09:45:38 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
Storage migrations are important for keeping your database compatible with Authelia. Authelia will automatically upgrade
|
|
|
|
your schema on startup. However, if you wish to use an older version of Authelia you may be required to manually
|
|
|
|
downgrade your schema with a version of Authelia that supports your current schema.
|
|
|
|
|
|
|
|
## Schema Version to Authelia Version map
|
|
|
|
|
|
|
|
This table contains a list of schema versions and the corresponding release of Authelia that shipped with that version.
|
2022-06-15 07:51:47 +00:00
|
|
|
This means all Authelia versions between two schema versions use the first schema version.
|
2021-11-23 09:45:38 +00:00
|
|
|
|
2022-06-15 07:51:47 +00:00
|
|
|
For example for version pre1, it is used for all versions between it and the version 1 schema, so 4.0.0 to 4.32.2. In
|
2021-11-23 09:45:38 +00:00
|
|
|
this instance if you wanted to downgrade to pre1 you would need to use an Authelia binary with version 4.33.0 or higher.
|
|
|
|
|
2022-04-25 11:11:56 +00:00
|
|
|
| Schema Version | Authelia Version | Notes |
|
|
|
|
|:--------------:|:----------------:|:--------------------------------------------------------------------------------------------------:|
|
2022-11-25 12:55:25 +00:00
|
|
|
| pre1 | 4.0.0 | Downgrading to this version requires you use the --pre1 flag on Authelia 4.37.2 |
|
2022-04-25 11:11:56 +00:00
|
|
|
| 1 | 4.33.0 | Initial migration managed version |
|
2022-06-15 07:51:47 +00:00
|
|
|
| 2 | 4.34.0 | WebAuthn - added webauthn_devices table, altered totp_config to include device created/used dates |
|
|
|
|
| 3 | 4.34.2 | WebAuthn - fix V2 migration kid column length and provide migration path for anyone on V2 |
|
2023-05-20 00:11:50 +00:00
|
|
|
| 4 | 4.35.0 | Added OpenID Connect 1.0 storage tables and opaque user identifier tables |
|
2022-04-25 11:11:56 +00:00
|
|
|
| 5 | 4.35.1 | Fixed the oauth2_consent_session table to accept NULL subjects for users who are not yet signed in |
|
2023-05-20 00:11:50 +00:00
|
|
|
| 6 | 4.37.0 | Adjusted the OpenID Connect 1.0 tables to allow pre-configured consent improvements |
|
2022-11-19 05:47:09 +00:00
|
|
|
| 7 | 4.37.3 | Fixed some schema inconsistencies most notably the MySQL/MariaDB Engine and Collation |
|
2023-03-06 03:58:50 +00:00
|
|
|
| 8 | 4.38.0 | OpenID Connect 1.0 Pushed Authorization Requests |
|
2023-04-10 03:12:13 +00:00
|
|
|
| 9 | 4.38.0 | Fix a PostgreSQL NOT NULL constraint issue on the `aaguid` column of the `webauthn_devices` table |
|
2023-04-11 04:40:09 +00:00
|
|
|
| 10 | 4.38.0 | WebAuthn adjustments for multi-cookie domain changes |
|