mirror of
				https://github.com/beego/bee.git
				synced 2025-11-03 23:03:27 +00:00 
			
		
		
		
	add help message
This commit is contained in:
		@@ -28,15 +28,23 @@ var cmdMigrate = &Command{
 | 
				
			|||||||
	Long: `
 | 
						Long: `
 | 
				
			||||||
bee migrate
 | 
					bee migrate
 | 
				
			||||||
    run all outstanding migrations
 | 
					    run all outstanding migrations
 | 
				
			||||||
 | 
					    -driver: [mysql | postgresql | sqlite], the default is mysql
 | 
				
			||||||
 | 
					    -conn:   the connection string used by the driver, the default is root:@tcp(127.0.0.1:3306)/test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bee migrate rollback
 | 
					bee migrate rollback
 | 
				
			||||||
    rollback the last migration operation
 | 
					    rollback the last migration operation
 | 
				
			||||||
 | 
					    -driver: [mysql | postgresql | sqlite], the default is mysql
 | 
				
			||||||
 | 
					    -conn:   the connection string used by the driver, the default is root:@tcp(127.0.0.1:3306)/test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bee migrate reset
 | 
					bee migrate reset
 | 
				
			||||||
    rollback all migrations
 | 
					    rollback all migrations
 | 
				
			||||||
 | 
					    -driver: [mysql | postgresql | sqlite], the default is mysql
 | 
				
			||||||
 | 
					    -conn:   the connection string used by the driver, the default is root:@tcp(127.0.0.1:3306)/test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bee migrate refresh
 | 
					bee migrate refresh
 | 
				
			||||||
    rollback all migrations and run them all again
 | 
					    rollback all migrations and run them all again
 | 
				
			||||||
 | 
					    -driver: [mysql | postgresql | sqlite], the default is mysql
 | 
				
			||||||
 | 
					    -conn:   the connection string used by the driver, the default is root:@tcp(127.0.0.1:3306)/test
 | 
				
			||||||
`,
 | 
					`,
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user