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

Need a way to access $wpdb->prefix in deploy scripts #81

Open
cornelisonc opened this issue May 6, 2016 · 0 comments
Open

Need a way to access $wpdb->prefix in deploy scripts #81

cornelisonc opened this issue May 6, 2016 · 0 comments

Comments

@cornelisonc
Copy link
Contributor

When linking to WordPress tables (posts, metadata, etc), you need the database prefix ('wp_', etc) before the table name. There is currently no way to write a prefix-agnostic deploy file. It should be possible to have some kind of templating variable in the place of the prefix and have that be interpreted by the dbdeploy script. As of now, if you are linking up to any non-dewdrop tables, you need to manually edit the dbdeploy file for every different database.

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

1 participant