Registry / database / topthink-think-migration

topthink-think-migration

JSON →
library3.1.1phppackagistunverified

Database migration tool for ThinkPHP framework.

composer require topthink/think-migration
INSTALL
IMPORT
SIG · TOPTHINK-THINK-MIG
T
topthink-think-migration
databasephpv3.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Migrator
✓ use think\migration\Migrator;

Define a migration class to create a users table.

use think\migration\Migrator; class CreateUsersTable extends Migrator { public function up() { $this->table('users') ->addColumn('name', 'string') ->create(); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.1.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
28
OpenAI (training)
1
Resources