Files
cc-switch/src-tauri
YoVinchen b20e121013 feat(backend): add in-memory database mode for testing
Add support for creating in-memory SQLite database instances to
improve test isolation and performance.

Changes:
- Add Database::memory() constructor for in-memory database
- Enable foreign key constraints for data integrity
- Export Database type from lib.rs for test usage
- Initialize tables automatically on memory database creation

This enables unit tests to run without filesystem dependencies and
provides faster test execution with proper cleanup.
2025-11-24 22:37:15 +08:00
..
2025-11-22 19:18:35 +08:00
2025-11-22 19:18:35 +08:00