Skip to content

Commit

Permalink
Update docs/src/main/paradox/migration.md
Browse files Browse the repository at this point in the history
Co-authored-by: Renato Cavalcanti <[email protected]>
  • Loading branch information
Roiocam and octonato authored Oct 27, 2023
1 parent 82ad1bd commit 5f16af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/paradox/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The previous version was using an auto-increment column as a primary key and for

While in `5.4.0`, the primary key and foreign key on the `event_tag` table have been replaced with a primary key from the `event_journal` table. In order to migrate to the new schema, we made a [**migration script**](https://github.com/akka/akka-persistence-jdbc/tree/master/core/src/main/resources/schema) which is capable of creating the new column, migrate the rows and add the new constraints.

The new "tag key" disable by default, If you want to use it, apply migration script and enable property via configuration:
By default, the plugin will behave as in previous version. If you want to use the new `event_tag` keys, you need to first apply the migration script and then redeploy your application while setting `legacy-tag-key` to false:

```config
jdbc-journal {
Expand Down

0 comments on commit 5f16af4

Please sign in to comment.