Skip to content

Auto create table if table not exists when service startup #3455

@Anilople

Description

@Anilople

Is your feature request related to a problem? Please describe.

Relate to issue #1424 #2539

User need to run sql manually to initial tables.

Is it possible to auto create those tables?

Describe the solution you'd like

Auto create tables when config service,admin service,portal startup.

Then user didn't need to run sql manually. That could be make operations and deployment more simpler.

Describe alternatives you've considered

Is hibernate support that? Maybe there are some configuration to support that.

Some problem need to consider

  • Is it safe? i.e the influence of old data when services update.
  • How user update their system if table auto create?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/mysqlarea/operationsInformation technology operationsdiscussionCategorizes issue as related to discussionfeature requestCategorizes issue as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions