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

how change the db table #6

Closed
kay54068 opened this issue Nov 20, 2013 · 2 comments
Closed

how change the db table #6

kay54068 opened this issue Nov 20, 2013 · 2 comments

Comments

@kay54068
Copy link

i have a plugins use books table
i went to change the table name from books to book_wiki.
do you tell me how to do it ?

thanks

@txinto
Copy link
Collaborator

txinto commented Nov 20, 2013

I don't know exactly how to do it. Probably a fork of the project will be
needed. I will take a look later.

Best regards.

Tx.

2013/11/20 kay54068 notifications@github.com

i have a plugins use books table
i went to change the table name from books to book_wiki.
do you tell me how to do it ?

thanks


Reply to this email directly or view it on GitHubhttps://github.com//issues/6
.

@txinto
Copy link
Collaborator

txinto commented Nov 20, 2013

Hi, I have changed the project, in the last commit the table names has been changed to wiki_books and wiki_book_chapters to avoid collision with another tables that may be called "books". This is the only way I know to do it and I think it is interesting to not use common names for the tables. I think this will solve your problem and will not disturb rest of the users (the migration changes the name automatically if they update their plugin).

But, for my information, which is the plugin that is also using a table called 'books'?

Best regards.

Tx.

@txinto txinto closed this as completed Nov 20, 2013
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

2 participants