// +---------------------------------------------------------------------- namespace think\migration; use Phinx\Migration\AbstractMigration; use think\migration\db\Table; class Migrator extends AbstractMigration { /** * @param string $tableName * @param array $options * @return Table */ public function table($tableName, $options = []) { return new Table($tableName, $options, $this->getAdapter()); } }