refactor: disable legacy data migration in init_db

This commit is contained in:
choibk 2026-01-26 17:59:21 +09:00
parent e94db18201
commit 0795bf6b05

View File

@ -52,6 +52,8 @@ async function init() {
`;
await connection.query(createTableSql);
// Migration block removed to prevent test data from being uploaded to production
/*
try {
await connection.query(`
INSERT IGNORE INTO smart_ims_license_db.issued_licenses
@ -63,6 +65,7 @@ async function init() {
} catch (e) {
console.log('Skip issued_licenses migration:', e.message);
}
*/
// 3. users table
const createUsersSql = `