You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
As the plugin will receive more and more features, the database schema is destined to change in future versions and especially v2.3.0. Currently the plugin only creates tables that do not yet exist in the database. BUT it will not be easy to migrate on new versions for servers owners who already have a lot of data.
Describe the solution you'd like
The main idea is to create a solution based on https://flywaydb.org with migration files that will be executed at the plugin start when current plugin version is more recent than the one already registered. To do so, we have to save plugin version somewhere (in the config file I think because it already stores that information).
Is your feature request related to a problem? Please describe.
As the plugin will receive more and more features, the database schema is destined to change in future versions and especially v2.3.0. Currently the plugin only creates tables that do not yet exist in the database. BUT it will not be easy to migrate on new versions for servers owners who already have a lot of data.
Describe the solution you'd like
The main idea is to create a solution based on https://flywaydb.org with migration files that will be executed at the plugin start when current plugin version is more recent than the one already registered. To do so, we have to save plugin version somewhere (in the config file I think because it already stores that information).
EnderContainers/plugin/src/main/resources/config.yml
Lines 1 to 5 in f4a1295
The text was updated successfully, but these errors were encountered: