Skip to content

Instantly share code, notes, and snippets.

@geoffoliver
Last active May 22, 2016 20:20
Show Gist options
  • Save geoffoliver/2bd2ecbfceae7dfbe7977ab7c80d66f9 to your computer and use it in GitHub Desktop.
Save geoffoliver/2bd2ecbfceae7dfbe7977ab7c80d66f9 to your computer and use it in GitHub Desktop.
Cake bake migration failure
vagrant@scotchbox:/var/www/public$ ls
bin composer.json config index.php package.json plugins src tmp vendor
bower.json composer.lock gulpfile.js logs phpunit.xml.dist README.md tests Vagrantfile webroot
vagrant@scotchbox:/var/www/public$ bin/cake bake migration CreateUsers id:uuid:primary name:string email:string:unique password:string reset_hash:string[32] role:string[20] created modified deleted:datetime
Error: Too many arguments.
Bake migration class.
Usage:
cake bake.bake migration [options] <name>
Options:
--connection, -c The datasource connection to get data from.
(default: default)
--force, -f Force overwriting existing files without prompting.
--help, -h Display this help.
--plugin, -p Plugin to bake into.
--quiet, -q Enable quiet output.
--theme, -t The theme to use when baking code. (choices:
Bake|Migrations)
--verbose, -v Enable verbose output.
Arguments:
name Name of the migration to bake. Can use Plugin.name to bake
migration files into plugins.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment