db-command

Performs basic database operations using credentials stored in wp-config.php.

MIT License

Downloads
5.2M
Stars
71
Committers
76

Bot releases are hidden (Show)

db-command - Version 2.0.9

Published by schlessera over 4 years ago

  • Bump PHPCS compatibility tests to new PHP 5.6+ minimum [#172]
db-command - Version 2.0.8

Published by schlessera over 4 years ago

  • Add SQL mode compat query to db import command [#170]
db-command - Version 2.0.7

Published by schlessera over 4 years ago

  • Emulate WordPress SQL mode compat hack [#169]
  • Bump Travis CI OS from trusty to xenial [#167]
  • Enforce PHP 7.4 compatibility in Travis CI [#166]
  • Fix Travis CI sudo warning [#165]
db-command - Version 2.0.6

Published by schlessera over 4 years ago

  • Fix typo and docs standards [#162]
  • Add --defaults flag to allow loading of MySQL configuration [#157]
db-command - Version 2.0.5

Published by schlessera almost 5 years ago

  • Make wp db clean get all the tables with prefix [#152]
  • Fix output message for STDIN input [#151]
db-command - Version 2.0.4

Published by schlessera about 5 years ago

  • Fix tests for changes in WP Core 5.3 [#149]
db-command - Version 2.0.3

Published by schlessera over 5 years ago

  • Update README.md file [#143]
db-command - Version 2.0.2

Published by schlessera over 5 years ago

  • PHPCS: minor tweaks [#142]
  • Implement CS checking based on the WP_CLI_CS ruleset [#141]
  • Enhancement: Add PHP 7.3 to Travis CI build matrix [#140]
  • Move PHP 5.4 tests from WP_VERSION latest to 5.1 [#137]
  • Fix db connection error tests for WP >= 5.2 [#136]
  • Fix typo in WP_CLI classname [#135]
  • Fix --all-tables and --all-tables-with-prefix output when combined with --size_format [#134]
  • Regenerate README.md from command docs [#131]
  • Fix --size_format argument definition. [#130]
db-command - Version 2.0.1

Published by schlessera almost 6 years ago

  • Fix comment argument test [#127]
  • Adds --human-readable parameter to db size command [#124]
  • Support all mysql flags while importing database [#123]
  • Add search and delete example [#122]
  • Add support for Probot move command [#121]
  • Add new db clean to README.md and configuration files [#119]
  • Fix combination of --format & --size_format flags [#118]
  • Add links to mysql documentation [#117]
  • Automatically rerun failed scenarios [#116]
  • Ignore log files [#115]
db-command - Version 2.0.0

Published by schlessera about 6 years ago

  • Adapt package for framework v2 [#110]
db-command - Version 1.3.5

Published by schlessera about 6 years ago

  • Add ISO size formats to db size [#104]
  • pass --column-statistics=0 to mysqldump command [#105]
db-command - Version 1.3.4

Published by schlessera over 6 years ago

  • Add db columns command [#100]
  • Add db clean command [#93]
  • Count users instead of posts for the smoke test [#98]
  • Fix tests that are broken due to the addition of a "Privacy Policy" page [#97]
  • Raise memory limit to 2048MB [#96]
  • Fix test failure due to introduction of wp_blogmeta table [#94]
  • Add examples for exporting certain posts [#90]
  • Update license copyright date to 2018 [#85]
db-command - Version 1.3.3

Published by schlessera over 6 years ago

  • Obey prefix when using table wildcards [#73]
  • Add dbuser/dbpass options to privileged commands [#75]
  • Use Utils\esc_like() and remove internal esc_like() [#79]
  • Include support for TB and GB database size formats [#81]
db-command - Version 1.3.2

Published by danielbachhuber almost 7 years ago

  • db size:
    • Ensures default value of --size_format=<format> argument is always bytes [#69].
  • Converts db command help summaries to use third-person singular verbs [#67].
db-command - Version 1.3.1

Published by danielbachhuber almost 7 years ago

  • Updates scaffolded tests to enable error reporting [#59].
  • Updates scaffolded README and GitHub configuration [#60].
db-command - Version 1.3.0

Published by danielbachhuber almost 7 years ago

  • db *:
    • Uses new after_wp_config_load early invoke to run wp db * commands [#57].
db-command - Version 1.2.4

Published by danielbachhuber about 7 years ago

  • db search:
    • Avoids displaying default delimiter on regex fail in db search [#56].
db-command - Version 1.2.3

Published by danielbachhuber about 7 years ago

  • db search:
    • Lessens context duplication by shortening and appending context if it overlaps with the next match [#55].
db-command - Version 1.2.2

Published by danielbachhuber about 7 years ago

  • Moves statement to a newline for doc parsing needs [#53].
db-command - Version 1.2.1

Published by danielbachhuber about 7 years ago

  • 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].
Package Rankings
Top 0.9% on Packagist.org
Badges
Extracted from project README
Testing