wowangjuanzi / migrate
Database migration tool by illuminate component
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^7.2
- illuminate/config: ^6.5
- illuminate/console: ^6.5
- illuminate/database: ^6.5
- illuminate/events: ^6.5
- illuminate/filesystem: ^6.5
- vlucas/phpdotenv: ^3.6
Requires (Dev)
- symfony/var-dumper: ^4.3.4
Suggests
- doctrine/dbal: Required to rename columns and drop SQLite columns (^2.6).
This package is auto-updated.
Last update: 2023-10-29 02:51:53 UTC
README
PHP版的迁移项目
执行前
composer create-project wowangjuanzi/migrate
执行
$ php artisan migrate 0.0.3 Usage: command [options] [arguments] Options: -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 Available commands: help Displays help for a command list Lists commands migrate Run the database migrations db db:wipe Drop all tables, views, and types make make:migration Create a new migration file migrate migrate:fresh Drop all tables and re-run all migrations migrate:install Create the migration repository migrate:refresh Reset and re-run all migrations migrate:reset Rollback all database migrations migrate:rollback Rollback the last database migration
文档
具体文档可参考如下网址: