You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/migrations.md
-22Lines changed: 0 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,12 +18,8 @@ If you're upgrading from Redis OM Python 0.x to 1.0, see the **[0.x to 1.0 Migra
18
18
## CLI Commands
19
19
20
20
```bash
21
-
# Schema migrations (recommended)
22
21
om migrate # File-based schema migrations with rollback support
23
22
om migrate-data # Data migrations and transformations
24
-
25
-
# Legacy command (deprecated)
26
-
migrate # Automatic schema migrations (use om migrate instead)
27
23
```
28
24
29
25
## Schema Migrations
@@ -57,24 +53,6 @@ om migrate run
57
53
om migrate run --migrations-dir myapp/schema-migrations
58
54
```
59
55
60
-
> **Note**: The legacy `migrate` command performs automatic migrations without file tracking and is deprecated. Use `om migrate` for production deployments.
61
-
62
-
### Migration Approaches
63
-
64
-
Redis OM provides two approaches to schema migrations:
0 commit comments