Skip to content

Commit b47976b

Browse files
committed
update claude.md core file
1 parent 39a3de8 commit b47976b

File tree

1 file changed

+10
-18
lines changed

1 file changed

+10
-18
lines changed

templates/base/src/CLAUDE.md

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -88,30 +88,22 @@ wheels g test model User
8888
wheels g helper StringUtils
8989
```
9090

91-
### Database Management
91+
### Migration Management
9292
```bash
93-
# Setup database from scratch
94-
wheels db setup
95-
96-
# Run migrations
97-
wheels dbmigrate latest
98-
9993
# Check migration status
100-
wheels db status
94+
wheels dbmigrate info
10195

102-
# Rollback migrations
103-
wheels db rollback --steps=3
96+
# Migration to Latest
97+
wheels dbmigrate latest
10498

105-
# Reset database (drop + recreate + migrate)
106-
wheels db reset --force
99+
# Migration to version 0
100+
wheels dbmigrate reset
107101

108-
# Database shell access
109-
wheels db shell # CLI interface
110-
wheels db shell --web # H2 web console
102+
# Migration one version UP
103+
wheels dbmigrate up
111104

112-
# Backup and restore
113-
wheels db dump --output=backup.sql
114-
wheels db restore backup.sql
105+
# Migration one version DOWN
106+
wheels dbmigrate down
115107
```
116108

117109
### Server Management

0 commit comments

Comments
 (0)