[fix] add support for database option in resourceful plugin fixes #72