You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
memos/store/db/mysql
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>
1 month ago
..
activity.go chore: update database migrator 2 years ago
attachment.go refactor: memo filter 3 months ago
common.go fix: memo content snippet 1 year ago
idp.go chore: migrate idp service 2 years ago
inbox.go fix(store): filter inbox notifications by message type at database level 1 month ago
instance_setting.go refactor: rename workspace to instance throughout codebase 2 months ago
memo.go feat: add id as final tie-breaker in ListMemos 2 months ago
memo_filter_test.go feat(store): add hierarchical tag filtering support 2 months ago
memo_relation.go refactor: memo filter 3 months ago
mysql.go chore: fix linter 7 months ago
reaction.go refactor: memo filter 3 months ago
user.go refactor: memo filter 3 months ago
user_setting.go refactor: general user setting 6 months ago