diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-11-13 21:43:11 -0800 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-11-13 21:43:11 -0800 |
| commit | 28dd0bfc1373746b8c056a211f068da71fdc80b2 (patch) | |
| tree | 9c04a08501bc5abe7413263f60eaa55400dd162f /man/bolt-tutorial.7 | |
| parent | Release v0.13.1 (diff) | |
| download | cli-28dd0bfc1373746b8c056a211f068da71fdc80b2.zip | |
Remove migration dependencies
Diffstat (limited to 'man/bolt-tutorial.7')
| -rw-r--r-- | man/bolt-tutorial.7 | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/man/bolt-tutorial.7 b/man/bolt-tutorial.7 index 83933aa..0a137a0 100644 --- a/man/bolt-tutorial.7 +++ b/man/bolt-tutorial.7 @@ -75,27 +75,7 @@ Revert the most recent migration: .Pp Revert to a specific version: .Dl $ bolt down -v 20240316145038 -.Sh WORKING WITH DEPENDENCIES -When you create a second migration, Bolt automatically adds a dependency -on existing migrations: -.Bd -literal -offset indent --- depends: 20240316145038 --- migrate:up -CREATE TABLE posts ( - id SERIAL PRIMARY KEY, - user_id INTEGER NOT NULL REFERENCES users(id), - title VARCHAR(255) NOT NULL -); - --- migrate:down -DROP TABLE posts; -.Ed -.Pp -Dependencies ensure migrations run in the correct order. See -.Xr bolt-dependencies 7 -for details. .Sh SEE ALSO .Xr bolt 1 , .Xr bolt.toml 5 , -.Xr bolt-migration 5 , -.Xr bolt-dependencies 7 +.Xr bolt-migration 5 |