Skip to content

Releases: wp-cli/db-command

Version 1.2.1

29 Sep 23:37
Compare
Choose a tag to compare
  • db export:
    • Includes Y-m-d in default export file name [#36].
  • db search:
    • Caters for reserved word column/table names [#40].
    • Changes default delimiter to chr(1) [#46].
    • Fixes match in non-regex case [#45].
  • Updates package tests to latest [#49, #52].

Version 1.2.0

05 Aug 22:22
Compare
Choose a tag to compare
  • Introduces wp db prefix for getting the $wpdb->prefix for a site [#22].
  • Introduces wp db search for searching through the database for a given string [#29, #33].
  • Uppercases WP size_format() for pre-4.6 compat [#26].
  • Removes superfluous isset() check before unset() [#27].
  • Updates package with latest scaffolded components [#31].
  • Uses dist: precise for PHP 5.3, dist: trusty for everything else [#32].

Version 1.1.0

30 May 21:07
Compare
Choose a tag to compare
  • Introduces wp db size to get the size of the database and its tables.
  • Adds --exclude_tables=<tables> option when exporting a database.
  • Uses /usr/bin/env mysql instead of mysql when calling MySQL executable.
  • Clarifies this command as a bundled command.

Version 1.0.1

01 May 11:21
Compare
Choose a tag to compare
  • Adds database name to confirmation prompts for wp db drop and wp db reset commands.

Version 1.0.0

01 Mar 13:57
Compare
Choose a tag to compare
  • Initial release.