Fix migration for books table