diff --git a/update-db.js b/update-db.js index 5ee525c..1178c09 100644 --- a/update-db.js +++ b/update-db.js @@ -1,11 +1,4 @@ -/* - * @Author: HenryDu8133 813367384@qq.com - * @Date: 2026-07-10 11:05:43 - * @LastEditors: HenryDu8133 813367384@qq.com - * @LastEditTime: 2026-07-10 11:23:30 - * @FilePath: \TicketMachine\update-db.js - * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE - */ + const mysql = require('mysql2/promise'); async function run() { const pool = mysql.createPool({