Fixed SQL PRIMARY KEY (`id`) Errors
Merge pull request #895 from tr4st/master

Fixed SQL PRIMARY KEY (`id`) Errors