A program that migrates an old ChomeNS Bot player database to a new version
Find a file
2025-08-19 20:01:53 +07:00
.gitignore feat: initial commit 2025-08-16 15:17:55 +07:00
migrator.js feat: initial commit 2025-08-16 15:17:55 +07:00
package.json fix: forgot to include the dependencies lmao 2025-08-19 20:01:53 +07:00
README.md feat: initial commit 2025-08-16 15:17:55 +07:00

ChomeNS Bot database migrator

A Node.JS database migrator

How to use

  1. mariadb-dump -u root -h 127.0.0.1 --default-character-set=utf8mb4 -N --routines --skip-triggers chomens_bot players -p > dump_file.sql
  2. You should get a dump_file.sql in your current directory
  3. Install the dependencies
  4. Run migrate.js and wait (it will take a while, since this is a Node.JS program and it obviously won't be fast)
  5. You should get a migrated.sql in your current directory
  6. Make sure the bot is stopped and then run mariadb -u root -h 127.0.0.1 -p'your password' chomens_bot < migrated.sql