Run node bin/sync-db and migrate-db instead of using npm run-script.

Maybe this might fix travis failures? No idea.