aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-16 16:35:11 -0700
committerAdam Soltys <[email protected]>2026-03-16 16:37:03 -0700
commit8c1385eaf8e68ef0ad436ad9b74e5813e92bb378 (patch)
tree16edd2c353a5d435768f901063fa146e97536d83 /index.ts
parent4a3d3b676ec7c21077786c7cdd33772385b87a6d (diff)
downloadcoinos-server-8c1385eaf8e68ef0ad436ad9b74e5813e92bb378.tar.gz
coinos-server-8c1385eaf8e68ef0ad436ad9b74e5813e92bb378.zip
update migrate script
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts14
1 files changed, 0 insertions, 14 deletions
diff --git a/index.ts b/index.ts
index 3b33a028..e820694b 100644
--- a/index.ts
+++ b/index.ts
@@ -9,14 +9,6 @@ import { fixBolt12, listenForLightning, replay } from "$lib/lightning";
import { l } from "$lib/logging";
import { startHealthCheck } from "$lib/health";
import { getLocations } from "$lib/locations";
-import {
- hashPins,
- migrateAccounts,
- migrateAutowithdraw,
- migrateBalancesToTB,
- migrateFundsToTB,
- migrateToMicrosats,
-} from "$lib/migrate";
import nwc from "$lib/nwc";
import { catchUp, check } from "$lib/payments";
import { getFx } from "$lib/rates";
@@ -49,12 +41,6 @@ try {
startHealthCheck();
startZmq();
catchUp();
- migrateAccounts().then((n) => n && console.log(`Migrated ${n} accounts`));
- migrateBalancesToTB().then((n) => n && console.log(`Migrated ${n} balances to TB`));
- migrateToMicrosats().then((n) => n && console.log(`Migrated ${n} users to microsats`));
- migrateAutowithdraw().then((n) => n && console.log(`Migrated autowithdraw to ${n} accounts`));
- migrateFundsToTB().then((n) => n && console.log(`Migrated ${n} funds to TB`));
- hashPins().then((n) => n && console.log(`Hashed ${n} user PINs`));
} catch (e) {
console.log(e);
}