anand-patel / oc-seo-extension

SEO Extension for October CMS Pages
12 stars 29 forks source link

Plugin alters other plugins' tables #14

Open nsrosenqvist opened 9 years ago

nsrosenqvist commented 9 years ago

I commented on this at: http://octobercms.com/plugin/anandpatel-seoextension/database-problem-with-blog-plugin?page=1#post-7954

Since the plugin depends on that other tables exists before being installed it crashes the installation procedure when a project is attached to a fresh octobercms install. It then tries to alter Blog's tables that haven't been created yet.

A much better implementation would be if it created it's own tables and just referenced the rows from Blog, but include cascading settings for the database so that no redundant rows are left cluttering the database. (like http://octobercms.com/plugin/bedard-blogtags does it)

anand-patel commented 8 years ago

I am planning for creating separate plugin for Blog which depends on RainLab Blog and SEOExtesion. thanks for suggestion i will try to update on this soon.

nozreh commented 6 years ago

This issue still exists, the workaround for me is to remove this plugin first, then add it back again for every new project/website instance that I have this plugin attached into.

sliderweb commented 5 years ago

After restore from backup and update a blog plugin I have an issue http://take.ms/gM0Np No sql columns. How I can restore it? may be u have an dump ore another way to add needed fields in to DB?