Fix database spec