mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-17 05:07:23 +08:00
Docs: Update version references to v0.26.3 in READMEs and docs (#16574)
This commit is contained in:
@@ -275,8 +275,8 @@ python db_schema_sync.py [OPTIONS]
|
||||
### Version Format
|
||||
|
||||
Version must be in format `vxx.xx.xx` where `xx` are digits:
|
||||
- Valid: `v0.26.2`, `v1.0.0`, `v10.20.30`
|
||||
- Invalid: `0.26.2`, `v0.25`, `v0.26.2.1`
|
||||
- Valid: `v0.26.3`, `v1.0.0`, `v10.20.30`
|
||||
- Invalid: `0.26.3`, `v0.25`, `v0.26.3.1`
|
||||
|
||||
### Migration File Location
|
||||
|
||||
@@ -287,7 +287,7 @@ tools/migrate/{version_dir}/
|
||||
|
||||
Where `{version_dir}` is the version with `.` replaced by `_`.
|
||||
|
||||
Example: Version `v0.26.2` → Directory `tools/migrate/v0_26_2/`
|
||||
Example: Version `v0.26.3` → Directory `tools/migrate/v0_26_3/`
|
||||
|
||||
### Examples
|
||||
|
||||
@@ -295,32 +295,32 @@ Example: Version `v0.26.2` → Directory `tools/migrate/v0_26_2/`
|
||||
# List all migrations
|
||||
python db_schema_sync.py --list \
|
||||
--host localhost --port 3306 --user root --password xxx --database rag_flow \
|
||||
--version v0.26.2
|
||||
--version v0.26.3
|
||||
|
||||
# Create a new auto-detected migration (new tables, new fields, type changes only)
|
||||
python db_schema_sync.py --create \
|
||||
--host localhost --port 3306 --user root --password xxx --database rag_flow \
|
||||
--version v0.26.2
|
||||
--version v0.26.3
|
||||
|
||||
# Create a 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
|
||||
--version v0.26.3
|
||||
|
||||
# Create a named migration
|
||||
python db_schema_sync.py --create --name add_user_table \
|
||||
--host localhost --port 3306 --user root --password xxx --database rag_flow \
|
||||
--version v0.26.2
|
||||
--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
|
||||
--version v0.26.3
|
||||
|
||||
# Show schema differences (including removed fields)
|
||||
python db_schema_sync.py --diff \
|
||||
--host localhost --port 3306 --user root --password xxx --database rag_flow \
|
||||
--version v0.26.2
|
||||
--version v0.26.3
|
||||
```
|
||||
|
||||
## How It Works
|
||||
|
||||
Reference in New Issue
Block a user