File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -86,14 +86,18 @@ Options:
8686  -help            Print usage
8787
8888Commands:
89-   create [-ext E] [-dir D] [-seq] [-digits N] [-format] NAME
90-                Create a set  of timestamped up/down migrations titled NAME, in  directory D with extension E.
91-                Use -seq option to generate sequential up/down migrations with N digits.
92-                Use -format option to specify a Go time  format string.
89+   create [-ext E] [-dir D] [-seq] [-digits N] [-format] [-tz] NAME
90+            Create a set  of timestamped up/down migrations titled NAME, in  directory D with extension E.
91+            Use -seq option to generate sequential up/down migrations with N digits.
92+            Use -format option to specify a Go time  format string. Note: migrations with the same time  cause " duplicate migration version"   error.
93+            Use -tz option to specify the timezone that will be used when generating non-sequential migrations (defaults: UTC).
94+ 
9395  goto V       Migrate to version V
9496  up [N]       Apply all or N up migrations
95-   down [N]     Apply all or N down migrations
96-   drop         Drop everything inside database
97+   down [N] [-all]    Apply all or N down migrations
98+         Use -all to apply all down migrations
99+   drop [-f]    Drop everything inside database
100+         Use -f to bypass confirmation
97101  force V      Set version V but don' t run migration (ignores dirty state)
98102  version      Print current migration version 
99103``` 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments