Docs: Update version references to v0.26.3 in READMEs and docs (#16574)

This commit is contained in:
Liu An
2026-07-02 20:55:15 +08:00
committed by GitHub
parent 93f6d647d4
commit 32c5cb16e9
33 changed files with 83 additions and 83 deletions

View File

@@ -55,7 +55,7 @@ def validate_version(version: str) -> bool:
def version_to_dirname(version: str) -> str:
"""Convert version string to valid directory name (e.g., 'v0.26.2' -> 'v0_26_2')"""
"""Convert version string to valid directory name (e.g., 'v0.26.3' -> 'v0_26_3')"""
return version.replace('.', '_')
@@ -839,19 +839,19 @@ def main():
epilog="""
Examples:
# List all migrations
python db_schema_sync.py --list --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.26.2
python db_schema_sync.py --list --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.26.3
# Create migration from model changes
python db_schema_sync.py --create --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.26.2
python db_schema_sync.py --create --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.26.3
# Create migration including dropped fields (destructive!)
python db_schema_sync.py --create --drop --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.26.2
python db_schema_sync.py --create --drop --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.26.3
# Run all pending migrations
python db_schema_sync.py --migrate --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.26.2
python db_schema_sync.py --migrate --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.26.3
# Show schema differences
python db_schema_sync.py --diff --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.26.2
python db_schema_sync.py --diff --host localhost --port 3306 --user root --password xxx --database rag_flow --version v0.26.3
"""
)
@@ -864,7 +864,7 @@ Examples:
# Version option
parser.add_argument('--version', '-v', type=str, required=True,
help='Version number in format vxx.xx.xx (e.g., v0.26.2)')
help='Version number in format vxx.xx.xx (e.g., v0.26.3)')
# Action options
parser.add_argument('--list', '-l', action='store_true', help='List all migrations')
@@ -882,7 +882,7 @@ Examples:
# Validate version format
if not validate_version(args.version):
logger.error(f"Invalid version format: {args.version}. Expected format: vxx.xx.xx (e.g., v0.26.2)")
logger.error(f"Invalid version format: {args.version}. Expected format: vxx.xx.xx (e.g., v0.26.3)")
sys.exit(1)
# Validate at least one action is specified