Skip to content

Commit cd21cb5

Browse files
committed
docs: align center for all bash command
1 parent 29f1dce commit cd21cb5

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ There are two ways to run the application:
6060

6161
**Docker Migration Commands:**
6262
```bash
63-
make migrate-docker # Run migrations in Docker
64-
make migrate-status-docker # Show migration status in Docker
65-
make migrate-rollback-docker # Rollback last batch in Docker
66-
make migrate-rollback-batch-docker batch=<number> # Rollback batch in Docker
67-
make migrate-rollback-all-docker # Rollback all in Docker
68-
make migrate-create-docker name=<name> # Create migration in Docker
63+
make migrate-docker # Run migrations in Docker
64+
make migrate-status-docker # Show migration status in Docker
65+
make migrate-rollback-docker # Rollback last batch in Docker
66+
make migrate-rollback-batch-docker batch=<number> # Rollback batch in Docker
67+
make migrate-rollback-all-docker # Rollback all in Docker
68+
make migrate-create-docker name=<name> # Create migration in Docker
6969
```
7070

7171
### Option 2: Without Docker
@@ -98,22 +98,22 @@ make run-build # Build and run the application
9898

9999
### Migration Commands
100100
```bash
101-
make migrate # Run all pending migrations
102-
make migrate-status # Show migration status
103-
make migrate-rollback # Rollback the last batch
101+
make migrate # Run all pending migrations
102+
make migrate-status # Show migration status
103+
make migrate-rollback # Rollback the last batch
104104
make migrate-rollback-batch batch=<number> # Rollback specific batch
105-
make migrate-rollback-all # Rollback all migrations
106-
make migrate-create name=<migration_name> # Create new migration file
105+
make migrate-rollback-all # Rollback all migrations
106+
make migrate-create name=<migration_name> # Create new migration file
107107
```
108108

109109
**Migration Examples:**
110110
```bash
111-
make migrate # Run migrations
112-
make migrate-status # Check migration status
113-
make migrate-rollback # Rollback last batch
114-
make migrate-rollback-batch batch=2 # Rollback batch 2
115-
make migrate-rollback-all # Rollback all migrations
116-
make migrate-create name=create_posts_table # Create migration with entity
111+
make migrate # Run migrations
112+
make migrate-status # Check migration status
113+
make migrate-rollback # Rollback last batch
114+
make migrate-rollback-batch batch=2 # Rollback batch 2
115+
make migrate-rollback-all # Rollback all migrations
116+
make migrate-create name=create_posts_table # Create migration with entity
117117
```
118118

119119
**Note:** When creating a migration with format `create_*_table`, the system will automatically:
@@ -165,11 +165,11 @@ go run cmd/main.go --migrate:run --seed --run --script:example_script
165165

166166
#### Database Migration
167167
```bash
168-
go run cmd/main.go --migrate:run # Run all pending migrations
169-
go run cmd/main.go --migrate:status # Show migration status
170-
go run cmd/main.go --migrate:rollback # Rollback last batch
171-
go run cmd/main.go --migrate:rollback 2 # Rollback batch 2
172-
go run cmd/main.go --migrate:rollback:all # Rollback all migrations
168+
go run cmd/main.go --migrate:run # Run all pending migrations
169+
go run cmd/main.go --migrate:status # Show migration status
170+
go run cmd/main.go --migrate:rollback # Rollback last batch
171+
go run cmd/main.go --migrate:rollback 2 # Rollback batch 2
172+
go run cmd/main.go --migrate:rollback:all # Rollback all migrations
173173
go run cmd/main.go --migrate:create:create_posts_table # Create migration
174174
```
175175

0 commit comments

Comments
 (0)