Fixed error in database schema