1
0
Fork 0
mirror of https://github.com/Oreolek/kohana-migrations.git synced 2024-06-26 03:40:54 +03:00

fixing the documentation for migrations:new

This commit is contained in:
Lorenzo Pisani 2011-07-01 20:56:12 -07:00
parent c6e24b2d81
commit 6005b85670

View file

@ -5,17 +5,20 @@
* *
* Available config options are: * Available config options are:
* *
* --group=path/to/migration/group * --group=group_name
* *
* This is a required config option, use it specify in which group the * This is a required config option, use it specify in which group the
* migration should be stored. Due to the nature of the cascading filesystem * migration should be stored. Migrations are stored in a `migrations`
* minion doesn't automatically know where a migration is stored so make sure * directory followed by the group name specified. By default, the `migrations`
* you pass in the full path to your migrations folder, e.g. * directory is created in `APPPATH` but that can be changed with `--location`
* *
* # The group of the migrations folder is modules/myapp/migrations/myapp/ * --location=modules/auth
* --group=modules/myapp/migrations/myapp/
* *
* On nix based systems you should be able to tab complete the path * Specified the path of the migration (without the `migrations` directory).
* This value is defaulted to `APPPATH`
*
* # The migration will be created in `modules/myapp/migrations/myapp/`
* --group=myapp --location=modules/myapp
* *
* --description="Description of migration here" * --description="Description of migration here"
* *
@ -23,8 +26,6 @@
* filename. It is required but can be changed manually later on without * filename. It is required but can be changed manually later on without
* affecting the integrity of the migration. * affecting the integrity of the migration.
* *
* The description will be
*
* @author Matt Button <matthew@sigswitch.com> * @author Matt Button <matthew@sigswitch.com>
*/ */
class Minion_Task_Migrations_New extends Minion_Task class Minion_Task_Migrations_New extends Minion_Task