fix: add MySQL-specific migration for 002_add_task_rank - #1
Open
iamviki90 wants to merge 4 commits into
Open
Conversation
- build-and-push.sh: Multi-arch build script for AMD64+ARM64 - DEPLOYMENT.md: Complete deployment guide and troubleshooting - k8s-deployment.yaml: Updated with viki namespace and correct config - backend/Dockerfile: Fixed module imports and added pymysql
- MySQL reserves 'rank' keyword, requires backticks - MySQL uses FLOAT instead of REAL - Added 002_add_task_rank.mysql.sql for production deployment - Updated AGENTS.md with migration workflow and database-specific notes - Migration already applied to production (2026-02-08)
iamviki90
force-pushed
the
fix/mysql-migration-002
branch
from
February 8, 2026 19:51
c47d07b to
c252e7a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Added MySQL-specific version of the
002_add_task_rankmigration to address syntax differences between SQLite and MySQL.Changes
002_add_task_rank.mysql.sqlwith MySQL-compatible syntaxAGENTS.mdwith migration workflow and database-specific syntax documentationTechnical Details
rankas a keyword → requires backticksFLOATinstead of SQLite'sREALTesting
✅ Migration verified on production database (tasktracker@titanium):
Migration tracking added to
/home/viki/clawd/deploy/task-tracker/MIGRATIONS.md