PHPackages                             lingyun/think-migration - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. lingyun/think-migration

ActiveLibrary[Database &amp; ORM](/categories/database)

lingyun/think-migration
=======================

v3.0.1(2y ago)0381Apache-2.0PHP

Since Sep 10Pushed 2y agoCompare

[ Source](https://github.com/ouyanglingyun/think-migration)[ Packagist](https://packagist.org/packages/lingyun/think-migration)[ RSS](/packages/lingyun-think-migration/feed)WikiDiscussions 3.0 Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (1)

thinkphp6 数据库迁移工具
=================

[](#thinkphp6-数据库迁移工具)

安装
--

[](#安装)

```
composer require lingyun/think-migration

```

数据库迁移
-----

[](#数据库迁移)

### 生成迁移文件

[](#生成迁移文件)

```
php think migrate:create AnyClassNameYouWant

```

### 编辑迁移文件

[](#编辑迁移文件)

```
