Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adaptation deployment data source: MYSQL #1208

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

188
Copy link
Contributor

@188 188 commented Mar 7, 2024

Modify the initialization script

  • ssl Indicates ssl to match the MYSQL keyword
  • schema is changed to schema to match the mysql keyword
  • Change bigint(20) to bigint: Integer display width is deprecated and will be removed in a future release.
  • MODIFY the field length. Use: Replace ALTER with modify to adapt MYSQL

Modify the DO MYSQL keyword processing

  • schema field Added @TableField(" schema ") annotation
  • ssl field Added @TableField(" ssl ") annotation

Test method

  • ai.chat2db.server.domain.repository.Dbutils initDataSource method to modify the data source for MYSQL in 8

- Modify the initialization script
- ssl Indicates `ssl`  to match the mysql keyword
- schema is changed to `schema`  to match the mysql keyword
- Change bigint(20) to bigint: Integer display width is deprecated and will be removed in a future release.
- MODIFY the field length. Use: Replace ALTER with modify to adapt MYSQL
- Modify the DO mysql keyword processing
- schema Added @TableField(" `schema` ") annotation
- ssl Added @TableField(" `ssl` ") annotation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants