@seasonkoh/webaz 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -178,7 +178,7 @@ export function initDatabase() {
|
|
|
178
178
|
}
|
|
179
179
|
catch { /* 列已存在 */ }
|
|
180
180
|
db.exec(`UPDATE users SET roles = json_array(role) WHERE roles = '[]' OR roles IS NULL`);
|
|
181
|
-
console.
|
|
181
|
+
console.error('✅ L0-1 数据库初始化完成:', DB_PATH);
|
|
182
182
|
return db;
|
|
183
183
|
}
|
|
184
184
|
// 生成唯一 ID 的工具函数
|
package/package.json
CHANGED