Db migration script creates tables when version_number missing.

Db migration script added to build script.