604 B
604 B
ChomeNS Bot database migrator
A Node.JS database migrator
How to use
mariadb-dump -u root -h 127.0.0.1 --default-character-set=utf8mb4 -N --routines --skip-triggers chomens_bot players -p > dump_file.sql- You should get a
dump_file.sqlin your current directory - Install the dependencies
- Run
migrate.jsand wait (it will take a while, since this is a Node.JS program and it obviously won't be fast) - You should get a
migrated.sqlin your current directory - Make sure the bot is stopped and then run
mariadb -u root -h 127.0.0.1 -p'your password' chomens_bot < migrated.sql