refactor: disable legacy data migration in init_db
This commit is contained in:
parent
e94db18201
commit
0795bf6b05
@ -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 = `
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user