Skip to content

Adaptation deployment data source: MYSQL#1208

Closed
188 wants to merge 1 commit into
OtterMind:mainfrom
188:main
Closed

Adaptation deployment data source: MYSQL#1208
188 wants to merge 1 commit into
OtterMind:mainfrom
188:main

Conversation

@188

@188 188 commented Mar 7, 2024

Copy link
Copy Markdown
Contributor

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
@openai0229

Copy link
Copy Markdown
Contributor

Thank you for the contribution. The JPA entity and Flyway migration model changed by this pull request has been removed from the current Community edition. Community now uses the new local datasource and workspace storage architecture, with Flyway disabled in the Community runtime. This patch is no longer applicable and will be closed.

@openai0229 openai0229 closed this Jul 15, 2026
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.

3 participants