Skip to content
New issue

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

Plugin alters other plugins' tables #14

Open
nsrosenqvist opened this issue Aug 5, 2015 · 3 comments
Open

Plugin alters other plugins' tables #14

nsrosenqvist opened this issue Aug 5, 2015 · 3 comments

Comments

@nsrosenqvist
Copy link

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
Copy link
Owner

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
Copy link

nozreh commented Jul 25, 2018

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
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants