Skip to content

[Improvement][Upgrade] Assert the upgrade table is same with initialize table #15070

@ruanwenjun

Description

@ruanwenjun

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

Right now we use schema check to make sure contributor has do schema change on all database, and write e2e to make sure the upgrade sql is correct.

But it's needed to make the upgrade logic is correct, so this issue is aim to check the scheme output by upgrade sql have the same structure with initialize.
e.g. if we initialize the scheme 3.0.0, and the latest version is dev. so we can upgrade the schema from 3.0.0 to dev, and compare the table with schema initialize from dev.

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stalehelp wantedExtra attention is neededimprovementmake more easy to user or prompt friendly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions