2017 © Pedro Peláez
 

library db-truncate

Truncates MySql database tables to specified number of rows.

image

idealogica/db-truncate

Truncates MySql database tables to specified number of rows.

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

db-truncate

db-truncate truncates MySql database tables to specified number of rows. It's useful for developing purposes when you want to reduce database size and preserve its structure., (*1)

Installation

db-truncate requires PHP >= 5.3, (*2)

composer global require idealogica/db-truncate:~1.0.0

Usage

db-truncate [-u username (root)] [-p password] [-h host (localhost)] [-P port] [-S unix socket] [-e comma-separated tables to exclude (changelog)] database [records to keep (500)]

License

db-truncate is licensed under a MIT License., (*3)

The Versions

01/01 2017

dev-master

9999999-dev https://github.com/idealogica/db-truncate

Truncates MySql database tables to specified number of rows.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

table mysql truncate trim

01/01 2017

1.0.2

1.0.2.0 https://github.com/idealogica/db-truncate

Truncates MySql database tables to specified number of rows.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

table mysql truncate trim

16/04 2016

1.0.1

1.0.1.0 https://github.com/idealogica/db-truncate

Truncates MySql database tables to specified number of rows.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

table mysql truncate trim

27/10 2015

1.0.0

1.0.0.0 https://github.com/idealogica/db-truncate

Truncates mysql database tables to specified number of rows.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

table mysql truncate trim