New wersion of ERD. Sql code for tables creation.