Fixes SQL table structure

Name must be unique in all tables.