This folder contains python scripts to migrate your database data to a newer format. For example the spells column in the chars table has been separated into a new table, so a migration script has been created to do this for you.
First you'll need python and mysqldb installed on your computer.
This requires Python 2.7+.
For Windows user, download the installation file for 64-bit computers or 32-bit computers.
For Ubuntu it's already installed.
A Mysql driver is required to execute mysql commands.
For Windows user, you can get an exe of MySQLdb.
For Ubuntu, sudo apt-get install python-mysqldb
.
Go into the darkstar/migrations
directory and execute the migrate.py
file.
From the command line: python migrate.py
This will run all out-standing migrations and skip migrations that have already ran. Keep in mind no data is deleted and unused columns is expected to be cleaned up by yourself.