Chat2DB
Chat2DB copied to clipboard
Adaptation deployment data source: MYSQL
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