导入 AKSRT 主题开发源码

This commit is contained in:
Claude Code committed 2026-07-03 22:50:34 +08:00
1 parent 9681dd3d48
commit 1268a55dd0
595 files changed
+127705

No files matched your search

@@ -0,0 +1,27 @@
<?php
/**
* AKSRT_Admin_Schema_Tools_Migration section schema.
*
* @package AKSRT
*/
defined('ABSPATH') || exit;
class AKSRT_Admin_Schema_Tools_Migration {
public static function build(): array {
return [
'key' => 'migration',
'title' => '数据迁移',
'version' => '1.0.0',
'option_key' => 'aksrt_settings',
'groups' => [
['key' => 'status', 'title' => '迁移状态', 'fields' => [
['key' => 'current_version', 'label' => '当前版本', 'type' => 'display'],
['key' => 'pending_migrations', 'label' => '待执行迁移', 'type' => 'display'],
['key' => 'run_migration', 'label' => '执行迁移', 'type' => 'button', 'help' => '手动触发数据库迁移'],
]],
],
];
}
}