Added Text type
Moved primary key to constraints and added a Unique constraint