Skip to content

[Bug] flyway_schema_history should be prefixed #679

Open
@darksaid98

Description

@darksaid98

Bug Description:

Hello 👋

CarbonChat generates its flyway_schema_history table without using the table prefix.

Why is this a problem?

The flyway_schema_history should utilize the table prefix for the same reason any other tables do. To prevent naming conflicts with tables from other programs.

Although this isn't a huge priority as this hasn't broken for me, it is considered bad practice (especially so in the Minecraft ecosystem). The likelihood of it causing a name clash may also be regarded as greater due to it being a standardized name that other software implementing Flyway will use.

Here are a couple of plugins that also use Flyway but resolve this issue:

Steps to reproduce:

  1. Install Carbon
  2. Launch the server
  3. Inspect the database

Metadata

Metadata

Assignees

No one assigned

    Labels

    unconfirmed bugreported bug, not confirmed yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions