Added primary key and autoincrement to id on Attributes tables