Skip to content

Updating Versions

Software Magico edited this page May 30, 2024 · 9 revisions

Guidance for upgrading from version 2.14.1 to 2.14.2:

From 2.14.1 to 2.14.2

Changes have been made to the database encryption, resulting in modifications to certain column types in the database structure. If you are currently using a version older than 2.14.2, make sure to update the following columns:

Database

Table 'duels'

startedAt has type timestamp.

finishedAt has type Date.

Table 'fights'

shiaijo is now a number.

level is now a number.

Table 'groups'

shiaijo is now a number.

number_of_winners is now a number.

Table 'tournament_groups_links'

winner_index is now a number.

Table 'tournaments'

locked is now a boolean.

All Tables

createdAt has type timestamp.

updatedAt has type timestamp.

An example of a script for migrating from 2.14.1 to 2.14.2 on a PostgreSQL database can be found here.

Users

The login process for users has been updated, requiring new data. To update the system, all users in the authenticated_users table need to be removed, along with their associated roles in the authenticated_user_roles table. Users can then be re-added using the frontend following the instructions provided at this link: First Access Instructions.