Commit c9d636d342e90d2f9558ae4ed1602a9aa2cc42d3

Authored by yanghl
1 parent a5d6863d

seed 账本表建表 charset 改为 utf8/utf8_general_ci

与 setup-test-db 模板建库字符集保持一致。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
skills/plan/skeleton-gen/templates/scripts-seed-demo-data-template.mjs
... ... @@ -210,7 +210,7 @@ const createLedger = mysqlApply(
210 210 'CREATE TABLE IF NOT EXISTS _demo_seed_history (' +
211 211 ' file VARCHAR(255) NOT NULL PRIMARY KEY,' +
212 212 ' applied_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP' +
213   - ') ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;',
  213 + ') ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;',
214 214 )
215 215 fatalMysql(createLedger, 'create-ledger')
216 216  
... ...