Ver código fonte

refactor(migration): 统一数据库迁移基类为 AbstractMigration

- 将所有迁移类继承自 Phinx\Migration\AbstractMigration
- 替换旧的 think\migration\Migrator 基类
- 更新相关的 use 语句引入 Phinx 类库
- 保持原有的迁移逻辑和方法签名不变
- 确保严格类型声明在文件顶部正确设置
runphp 3 meses atrás
pai
commit
2a0725f0c2

+ 3 - 3
database/migrations/20250728173547_extension_balpay_log.php

@@ -1,10 +1,10 @@
 <?php
 declare(strict_types=1);
 
-use think\migration\db\Column;
-use think\migration\Migrator;
+use Phinx\Db\Table\Column;
+use Phinx\Migration\AbstractMigration;
 
-class ExtensionBalpayLog extends Migrator
+class ExtensionBalpayLog extends AbstractMigration
 {
     /**
      * Change Method.