Upated db migration script.