1er version database schema sql