mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-22 08:40:08 +08:00
This commit renames the data migration files for clarity, changing `dataMigrate.html` to `dataRefactorMigrate.html` and updating the corresponding service imports. It also enhances the migration logic by implementing a new `app_state` table structure and removing deprecated migration files, streamlining the overall migration process.
7 lines
367 B
Markdown
7 lines
367 B
Markdown
**THIS DIRECTORY IS NOT FOR RUNTIME USE**
|
|
|
|
- Using `libsql` as the `sqlite3` driver, and `drizzle` as the ORM and database migration tool
|
|
- `migrations/sqlite-drizzle` contains auto-generated migration data. Please **DO NOT** modify it.
|
|
- If table structure changes, we should run migrations.
|
|
- To generate migrations, use the command `yarn run migrations:generate`
|