易使用漂亮的数据库迁移代码构建器
github.com/yuanzhihai/migrate-schema
Source
Issues
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 0
Open Issues: 0
Requires
Requires (Dev)
None
Suggests
Provides
Conflicts
Replaces
MIT 3e39be8239426abe8e9227409545c67db5b2fb58
This package is auto-updated.
Last update: 2024-11-08 04:04:51 UTC
composer require yzh52521/migrate-schema
// 创建表 Schema::create($this->getAdapter(), '表名', function (Blueprint $table) { // 迁移代码 }); // 修改表 Schema::table($this->getAdapter(), '表名', function (Blueprint $table) { // 迁移代码 });
查看使用示例