Changed the SQL schema