tables clone
Make a clone of the Connections Directory database tables.
Examples
# List clone table names with the default `clone` table prefix. wp connections_directory tables clone --list # List clone table names with the `custom` table prefix. wp connections_directory tables clone --list --prefix=custom # List all clone tables names. wp connections_directory tables clone --prefix=* --list # List clone table names with the default `clone` table prefix in CSV format. wp connections_directory tables clone --list --format=csv # Create a set of clone tables for the Connections Directory tables with the default `clone` table prefix. wp connections_directory tables clone # Create a set of clone tables for the Connections Directory tables with the `custom` table prefix. wp connections_directory tables clone --prefix=custom # Drop a set of clone tables for the Connections Directory tables with the default `clone` table prefix. wp connections_directory tables clone --clean # Drop a set of clone tables for the Connections Directory tables with the `custom` table prefix. wp connections_directory tables clone --prefix=custom --clean
Options
| Option | Description |
|---|---|
--clean | Drop the clone tables. |
--list | List the clone table names. |
--format | Render the list in a particular format. default: listoptions: – list– csv |
--prefix=<value> | The clone table prefix. default: clone |
--yes | Answer yes to the confirmation message. |
