Skip to content

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

2 participants