From 0795bf6b05352fc123e4d5f8334d9def7e52e262 Mon Sep 17 00:00:00 2001 From: choibk Date: Mon, 26 Jan 2026 17:59:21 +0900 Subject: [PATCH] refactor: disable legacy data migration in init_db --- server/init_db.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/init_db.js b/server/init_db.js index 3062069..02f8f83 100644 --- a/server/init_db.js +++ b/server/init_db.js @@ -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 = `