From 28dd0bfc1373746b8c056a211f068da71fdc80b2 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Fri, 13 Nov 2026 21:43:11 -0800 Subject: Remove migration dependencies --- man/bolt-tutorial.7 | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'man/bolt-tutorial.7') 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 -- cgit v1.2.3