6 Commits

Author SHA1 Message Date
Huakun Shen
8fd3223b66
refactor: migrate db tauri commands to drizzle 2025-04-01 05:31:13 -04:00
Huakun Shen
5455ad77c8
move drizzle from desktop to drizzle package 2025-03-28 04:58:23 -04:00
Huakun Shen
5d5cbcdeb7
Refactor ORM commands and searchExtensionData function for improved readability and consistency
- Reformatted import statements for better organization.
- Cleaned up whitespace and indentation in searchExtensionData function.
- Enhanced readability of SQL conditions and query building logic.
- Disabled eslint for explicit any usage in the troubleshooters page.
2025-03-26 12:10:35 -04:00
Huakun Shen
9757b6975c
reimplemented most db command functions with ORM (migrate from tauri command invoke 2025-03-26 11:26:35 -04:00
Huakun Shen
5fb13e75b3
feat: update drizzle configuration and schema management
- Added a check for DB_FILE_NAME in drizzle.config.ts to ensure it's set.
- Updated package.json to change the package name to @kksh/drizzle and added exports for schema and relations.
- Enhanced README.md with instructions for using the schema generation.
- Refactored schema.ts for improved readability and organization of imports.
2025-03-21 08:05:29 -04:00
Huakun Shen
68857a6f6d
feat: add drizzle orm 2025-03-21 05:28:19 -04:00