memos/store
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
..
cache chore: fix linter 2025-08-31 20:22:32 +08:00
db refactor(store): remove deprecated migration_history table and backward compatibility code 2025-12-01 22:54:30 +08:00
migration refactor(store): remove deprecated migration_history table and backward compatibility code 2025-12-01 22:54:30 +08:00
seed chore: update demo data 2025-11-26 21:58:56 +08:00
test refactor(store): remove deprecated migration_history table and backward compatibility code 2025-12-01 22:54:30 +08:00
activity.go
attachment.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
cache.go
common.go
driver.go refactor(store): remove deprecated migration_history table and backward compatibility code 2025-12-01 22:54:30 +08:00
idp.go refactor: store cache 2025-05-27 22:06:41 +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: enhance memo sorting functionality to support multiple fields 2025-10-20 23:41:58 +08:00
memo_relation.go
migrator.go refactor(store): remove deprecated migration_history table and backward compatibility code 2025-12-01 22:54:30 +08:00
reaction.go fix(security): implement security review recommendations (#5228) 2025-11-06 23:32:27 +08:00
store.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
user.go refactor: remove unused constants 2025-10-16 20:40:46 +08:00
user_setting.go refactor: webhook service 2025-06-24 21:28:21 +08:00