memos/store/db/sqlite
Steven 0610257562 refactor(store): remove deprecated migration_history table and backward compatibility code
Complete removal of migration_history system in favor of instance_setting based schema versioning.

Changes:
- Remove migration_history table creation from all LATEST.sql files
- Delete all migration_history model and implementation files (~300 lines)
- Remove FindMigrationHistoryList and UpsertMigrationHistory from Driver interface
- Replace complex backward compatibility functions with simple version check
- Update health check to use instance_setting instead of migration_history
- Simplify checkMinimumUpgradeVersion to detect pre-v0.22 installations

Breaking change:
Users on versions < v0.22.0 (May 2024) must upgrade to v0.25.x first before upgrading to this version.
Clear error message with upgrade instructions will be shown for old installations.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 22:54:30 +08:00
..
activity.go chore: fix postgres stmts 2024-01-05 21:27:16 +08:00
attachment.go refactor: memo filter 2025-10-16 09:22:52 +08:00
common.go chore: impl inbox store methods 2023-10-27 08:17:58 +08:00
idp.go chore: migrate idp service 2024-04-13 10:50:25 +08:00
inbox.go fix(store): filter inbox notifications by message type at database level 2025-12-01 08:43:05 +08:00
instance_setting.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
memo.go feat: add id as final tie-breaker in ListMemos 2025-10-23 19:44:41 +08:00
memo_filter_test.go feat(store): add hierarchical tag filtering support 2025-10-30 00:21:53 +08:00
memo_relation.go refactor: memo filter 2025-10-16 09:22:52 +08:00
reaction.go fix(security): implement security review recommendations (#5228) 2025-11-06 23:32:27 +08:00
sqlite.go refactor: schema migrator 2025-06-15 10:23:18 +08:00
user.go refactor: memo filter 2025-10-16 09:22:52 +08:00
user_setting.go refactor: general user setting 2025-06-23 23:23:57 +08:00