sk89q/worldguard — pull request #197 by Nach0z (2012-03-12 22:08:21+00:00)
Title: Fixed MySQL database backend/Region_Storage.sql files for new installations, nothing changes for existing installations

Fixed the MySQL backend to actually store the correct flags in the mysql db.
Most important for anything that wasn't a State flag or a String flag, i.e. feed-max-health, or price, etc etc etc.
Automatically detects if the mySQL region_flags table is in the correct format; if not, leaves it alone, acts like the old code. If it is, it adds any flags as a byte array from an object output stream, i.e. no more issues with the "Couldn't parse flag" etc etc for non-State or -String flags.

Next up: a WorldGuard command to convert the old table format to the new table format. /wg fixtables, etc etc.
Should pull in old flags, parse the data correctly, and add it to the new table format.