cherry-studio/migrations
fullex 92eb5aed7f refactor(migration): rename data migration files and update migration logic
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.
2025-08-09 22:37:20 +08:00
..
sqlite-drizzle refactor(migration): rename data migration files and update migration logic 2025-08-09 22:37:20 +08:00
README.md refactor(migration): rename data migration files and update migration logic 2025-08-09 22:37:20 +08:00
sqlite-drizzle.config.ts mv dir to data 2025-08-09 14:30:24 +08:00

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