Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用 数据库迁移 (migration) #2

Open
qiuyimo opened this issue Jun 2, 2018 · 7 comments
Open

使用 数据库迁移 (migration) #2

qiuyimo opened this issue Jun 2, 2018 · 7 comments
Assignees
Labels
question Further information is requested

Comments

@qiuyimo
Copy link
Owner

qiuyimo commented Jun 2, 2018

No description provided.

@qiuyimo qiuyimo added the question Further information is requested label Jun 2, 2018
@qiuyimo qiuyimo self-assigned this Jun 2, 2018
@qiuyimo
Copy link
Owner Author

qiuyimo commented Jun 2, 2018

@qiuyimo
Copy link
Owner Author

qiuyimo commented Jun 2, 2018

先了解一下这个命令的帮助文件:

➜  laravel.com git:(master) php artisan make:migration --help
Description:
  Create a new migration file

Usage:
  make:migration [options] [--] <name>

Arguments:
  name                   The name of the migration.

Options:
      --create[=CREATE]  The table to be created.
      --table[=TABLE]    The table to migrate.
      --path[=PATH]      The location where the migration file should be created.
      --realpath         Indicate any provided migration file paths are pre-resolved absolute paths.
  -h, --help             Display this help message
  -q, --quiet            Do not output any message
  -V, --version          Display this application version
      --ansi             Force ANSI output
      --no-ansi          Disable ANSI output
  -n, --no-interaction   Do not ask any interactive question
      --env[=ENV]        The environment the command should run under
  -v|vv|vvv, --verbose   Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
➜  laravel.com git:(master)

@qiuyimo
Copy link
Owner Author

qiuyimo commented Jun 2, 2018

image

@qiuyimo
Copy link
Owner Author

qiuyimo commented Jun 2, 2018

image

@qiuyimo
Copy link
Owner Author

qiuyimo commented Jun 2, 2018

image

@qiuyimo
Copy link
Owner Author

qiuyimo commented Jun 2, 2018

image

@qiuyimo
Copy link
Owner Author

qiuyimo commented Jun 2, 2018

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant