# 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`