Skip to content

feat: add MySQL initialization script - #16

Open
PeterHepta wants to merge 1 commit into
xiaodingding:masterfrom
PeterHepta:feature/add-mysql-support
Open

PeterHepta wants to merge 1 commit into
xiaodingding:masterfrom
PeterHepta:feature/add-mysql-support

Conversation

@PeterHepta

Copy link
Copy Markdown

Add MySQL database initialization script converted from existing SQLite schema. Includes 32 tables with test data and proper utf8mb4 charset support.

  • Added all system tables (user, role, dept, post, etc)
  • Added device management tables
  • Added MQTT configuration tables
  • Tested on MySQL 8.0

Add MySQL database initialization script converted from existing SQLite schema.
Includes 32 tables with test data and proper utf8mb4 charset support.

- Fixed data type compatibility (TEXT fields, DOUBLE precision)
- Added all system tables (user, role, dept, post, etc)
- Added device management tables
- Added MQTT configuration tables
- Tested on MySQL 8.0
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.

1 participant