Required exceptions are now handled in database migration. Updated alembic version

Changed exceptions. Updated alembic version
Merge pull request #458 from sammyshj/updatemigration

A different kind of exception was being raised, which caused the errors. Any kind of exceptions are now handled.
Also, alembic version has been updated to 0.6.5