Skip to content

Instantly share code, notes, and snippets.

@danramosd
Created September 12, 2012 23:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danramosd/3710822 to your computer and use it in GitHub Desktop.
Save danramosd/3710822 to your computer and use it in GitHub Desktop.
$ php migrate.php create CreateUsersTable #Just a descriptive name of your changes
$ php migrate.php run 1347492199:up # 1347492199 is the id prepended to the migration file followed by the function you want to run :up or :down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment