Update struct.sql

Error Code: 1171. All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
Merge pull request #1675 from Smileway/patch-2

Update struct.sql