First version of database schema