finisched the first version of SQL schema