Add SQL schema changes for library support in MySQL. Thanks nrosier!