promisify database migration script