Download the PHP package jizhi/migrations-webman without Composer
On this page you can find all versions of the php package jizhi/migrations-webman. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jizhi/migrations-webman
More information about jizhi/migrations-webman
Files in jizhi/migrations-webman
Download jizhi/migrations-webman
More information about jizhi/migrations-webman
Files in jizhi/migrations-webman
Vendor jizhi
Package migrations-webman
Short Description Webman plugin eloquent-ORM migrations
License MIT
Package migrations-webman
Short Description Webman plugin eloquent-ORM migrations
License MIT
Please rate this library. Is it a good library?
Informations about the package migrations-webman
webman-migration
和laravel migration 使用方法类似
- php webman migrate:created create_users_table 生成迁移文件
- php webman migrate:created create_users_table --path=admin 生成迁移文件是指定目录
- php webman migrate:run 执行迁移
- php webman migrate:run --path=admin 执行指定目录的迁移
- php webman migrate:rollback 回滚迁移
- php webman migrate:status 查看迁移状态
- php webman migrate:fresh
- php webman seed:run 执行数据填充
- php webman seed:created UserSeeder 生成数据填充文件
指定数据库连接
dev
composer require pxianyu/migrations:dev-dev
在同一个host,同一个端口下,指定不同的库
创建数据库
php webman create:database test
执行迁移
php webman migrate:run --database=test
填充数据
- php webman seed:run --database=test
All versions of migrations-webman with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
workerman/webman-framework Version ^1.0
webman/console Version ^1.0
illuminate/database Version ^8.0|^9.0|^10.0|^11.0
illuminate/console Version ^8.0|^9.0|^10.0|^11.0
illuminate/filesystem Version ^8.0|^9.0|^10.0|^11.0
workerman/webman-framework Version ^1.0
webman/console Version ^1.0
illuminate/database Version ^8.0|^9.0|^10.0|^11.0
illuminate/console Version ^8.0|^9.0|^10.0|^11.0
illuminate/filesystem Version ^8.0|^9.0|^10.0|^11.0
The package jizhi/migrations-webman contains the following files
Loading the files please wait ....