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

Add 'table_prefix' config var [enhancement] #7

Open
jambox opened this issue Feb 21, 2014 · 4 comments
Open

Add 'table_prefix' config var [enhancement] #7

jambox opened this issue Feb 21, 2014 · 4 comments

Comments

@jambox
Copy link

jambox commented Feb 21, 2014

Hey thanks for releasing this module! I've been looking around a bunch for a better WP deployment flow and this is really helpful.

It'd be great if you could also add a 'table_prefix' var that could dump only tables with that prefix. On my local machine (and sometimes on production, specifically with crappy shared hosts) I'll run a few wp installs and I only want to dump/pull down one of those. I'm new to grunt so I can try my hand at it and submit a PR if I get anywhere on it myself...

@darioghilardi
Copy link
Member

Hello!
You mean that you are using the same db for multiple Wordpress installation, leveraging on the table prefix to differentiate them?

@jambox
Copy link
Author

jambox commented Apr 16, 2014

Hey! Yea that's exactly what I mean. I've actually been working a lot on this project as I've been using it to help with the migration process for a client, and I've implemented the table prefix feature, as well as some other helpful WP stuff.

I'm not that great with making pull requests and collaborative git, but I can push my code to my fork of your repo and you can check out the logic behind my solution for the table prefix issue. Cool?

@madebycaliper
Copy link

@ingo86 I've just updated my fork of this project with several new features, including the table_prefix feature. There's a lot of client-specific stuff that I added for migration and other automation, so ignore that, but take a look at the other things I've added. Also, I converted a bunch of it to CoffeeScript so sorry if you get a little lost in the source! If you need help getting the coffee tasks going let me know and I can try to help.

@jambox
Copy link
Author

jambox commented Jun 20, 2014

Hey bud have you had a chance to review this stuff? Should I just make a pull request or something? I'd love to be able to reference this repo in my package.json file so I can npm install easily on my new projects. If you're not interested I can just register a new package on npmjs.org

Thanks!

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

No branches or pull requests

3 participants