Database#hasTable() returns promise.