Fixed SQL PRIMARY KEY (`id`) Errors