feat(admin): add 'sync legacy sablog data' button to user menu (incremental import)
Build and Deploy / verify (push) Successful in 11s
Build and Deploy / deploy (push) Successful in 18s

This commit is contained in:
2026-10-12 22:58:53 +00:00
parent d483577c90
commit 3784b31ecf
2 changed files with 50 additions and 0 deletions
+15
View File
@@ -58,4 +58,19 @@ return [
*/
'page_cache_ttl' => env('PAGE_CACHE_TTL', 300),
/*
|--------------------------------------------------------------------------
| 旧站(sablog)数据库:后台「同步旧站数据」按钮的增量导入来源
|--------------------------------------------------------------------------
*/
'sablog_source' => [
'host' => env('SABLOG_DB_HOST', '10.0.4.7'),
'port' => env('SABLOG_DB_PORT', '3306'),
'database' => env('SABLOG_DB_DATABASE', 'neatcn_com'),
'username' => env('SABLOG_DB_USERNAME', 'neatcn.com'),
'password' => env('SABLOG_DB_PASSWORD', ''),
'prefix' => env('SABLOG_DB_PREFIX', 'sablog_'),
],
];