We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error I get while trying to install this module:
All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
And my dirty patch fixing this:
$ diff sql/install.php sql/install.php__ 50c50 < UNIQUE KEY (`id_smart_blog_category`,`id_lang`) --- > PRIMARY KEY (`id_smart_blog_category`,`id_lang`) 56c56 < UNIQUE KEY (`id_smart_blog_category`,`id_shop`), --- > PRIMARY KEY (`id_smart_blog_category`,`id_shop`), 77c77 < UNIQUE KEY (`id_smart_blog_comment`, `id_shop`), --- > PRIMARY KEY (`id_smart_blog_comment`, `id_shop`), 121c121 < UNIQUE KEY (`id_smart_blog_post`,`id_lang`) --- > PRIMARY KEY (`id_smart_blog_post`,`id_lang`) 127c127 < UNIQUE KEY (`id_smart_blog_post`, `id_shop`), --- > PRIMARY KEY (`id_smart_blog_post`, `id_shop`), 136c136 < UNIQUE KEY (`id_smart_blog_post_meta`, `id_smart_blog_post`), --- > PRIMARY KEY (`id_smart_blog_post_meta`, `id_smart_blog_post`), 143c143 < UNIQUE KEY (`id_smart_blog_category`, `id_smart_blog_post`), --- > PRIMARY KEY (`id_smart_blog_category`, `id_smart_blog_post`), 185c185 < UNIQUE KEY (`id_smart_blog_gallary_images`,`id_smart_blog_post`) --- > PRIMARY KEY (`id_smart_blog_gallary_images`,`id_smart_blog_post`) 192c192 < UNIQUE KEY (`id_smart_blog_gallary_images`,`id_lang`) --- > PRIMARY KEY (`id_smart_blog_gallary_images`,`id_lang`) 200c200 < UNIQUE KEY (`id_smart_blog_post_meta`, `id_smart_blog_post`), --- > PRIMARY KEY (`id_smart_blog_post_meta`, `id_smart_blog_post`), 202c202 < ) ENGINE=' . _MYSQL_ENGINE_ . ' DEFAULT CHARSET=utf8'; --- > ) ENGINE=' . _MYSQL_ENGINE_ . ' DEFAULT CHARSET=utf8'; \ No newline at end of file
The text was updated successfully, but these errors were encountered:
Hi, I am having the same issue. Can you explain your fix? Just replacing PRIMARY KEY with UNIQUE KEY?
P.S.: Got it working. Thanks!
Sorry, something went wrong.
Yep, just that. diff is attached.
diff
This issue was fixed. can you check our new version?
No branches or pull requests
Error I get while trying to install this module:
And my dirty patch fixing this:
The text was updated successfully, but these errors were encountered: